[gedit-latex] Add param to not include hidden text



commit 7ab0ba2a7cf6e44317b9dcc927d7f7936bd223c4
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Jun 24 01:18:22 2011 +0200

    Add param to not include hidden text

 latex/base/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/latex/base/__init__.py b/latex/base/__init__.py
index f251f3d..bbdbff8 100644
--- a/latex/base/__init__.py
+++ b/latex/base/__init__.py
@@ -670,7 +670,7 @@ class Editor(object):
 		
 		i_end = i_start.copy()
 		i_end.forward_to_line_end()
-		string = self._text_buffer.get_text(i_start, i_end)
+		string = self._text_buffer.get_text(i_start, i_end, False)
 		
 		match = self.__PATTERN_INDENT.match(string)
 		if match:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]