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