[gimp] pygimp: pyconsole: coding style
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] pygimp: pyconsole: coding style
- Date: Fri, 29 Apr 2016 19:52:36 +0000 (UTC)
commit a795c1c4ff98cca43fd9b95017c7c6e6b0a23fdc
Author: Kristian Rietveld <kris loopnest org>
Date: Thu Apr 28 21:54:06 2016 +0200
pygimp: pyconsole: coding style
plug-ins/pygimp/plug-ins/pyconsole.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/pygimp/plug-ins/pyconsole.py b/plug-ins/pygimp/plug-ins/pyconsole.py
index df3c8eb..3144359 100644
--- a/plug-ins/pygimp/plug-ins/pyconsole.py
+++ b/plug-ins/pygimp/plug-ins/pyconsole.py
@@ -305,10 +305,12 @@ class _ReadLine(object):
def __get_cursor(self):
return self.buffer.get_iter_at_mark(self.cursor)
+
def __get_start(self):
iter = self.__get_cursor()
iter.set_line_offset(len(self.ps))
return iter
+
def __get_end(self):
iter = self.__get_cursor()
if not iter.ends_line():
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]