]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
threshold value decreased in setText method because of problem of dispalying long...
authorsln <sln@opencascade.com>
Mon, 28 May 2007 09:33:37 +0000 (09:33 +0000)
committersln <sln@opencascade.com>
Mon, 28 May 2007 09:33:37 +0000 (09:33 +0000)
src/PythonConsole/PythonConsole_PyEditor.cxx

index baa34cac9348d9e61716164fa05bd022133a4396..c585838c4d7612014c1d6c88a185acbc629fe2b1 100755 (executable)
@@ -146,7 +146,7 @@ void PythonConsole_PyEditor::setText(QString s)
   // If it will be insufficient for other cases then more complicated check should be implemented.
   // At present it is not done because of possible performance problem.
   
-  static int threshold = 2000000;
+  static int threshold = 50000;
   long strLength = s.length();
   if ( col + strLength <= threshold || s.find( '\n' ) < threshold )
     insertAt(s,para,col);