parent
3b10120e58
commit
525f1e70f9
|
@ -751,7 +751,7 @@ class Perl(mode.Fundamental):
|
|||
|
||||
def get_inc(self):
|
||||
if self.perlinc is None:
|
||||
perllib = a.config.get('perl.lib')
|
||||
perllib = self.window.application.config.get('perl.lib')
|
||||
if perllib:
|
||||
cmd = "PERL5LIB=%r perl -e 'print join(\"\\n\", @INC);'" % perllib
|
||||
else:
|
||||
|
|
|
@ -238,10 +238,10 @@ class Window(object):
|
|||
# make sure we aren't "centering" on the end of the file (where half the
|
||||
# screen is empty). that is, unless that's what the user wants
|
||||
# (indicated by force=True).
|
||||
if not force:
|
||||
(x2, y2) = self.last_visible_coords()
|
||||
if y2 < y or x2 < x:
|
||||
x, y = x2, y2
|
||||
#if not force:
|
||||
# (x2, y2) = self.last_visible_coords()
|
||||
# if y2 < y or x2 < x:
|
||||
# x, y = x2, y2
|
||||
self.first = Point(x - (x % self.width), y)
|
||||
self.redraw()
|
||||
def lower_view(self):
|
||||
|
|
Loading…
Reference in New Issue