ide/CodeEditor,FindInFilesDialog: Took out setting maxLineSize on EditBoxes
authorJerome St-Louis <jerome@ecere.com>
Sun, 10 Mar 2013 05:01:02 +0000 (00:01 -0500)
committerJerome St-Louis <jerome@ecere.com>
Sun, 10 Mar 2013 05:01:02 +0000 (00:01 -0500)
- It was originally put to extend the line size, but EditBox now defaults to MAXINT
- It kept breaking grammar files which have lines longer than 65536 characters

ide/src/designer/CodeEditor.ec
ide/src/dialogs/FindInFilesDialog.ec

index 238b979..d6a8dc4 100644 (file)
@@ -784,7 +784,7 @@ class CodeEditor : Window
       textVertScroll = true, multiLine = true, /*lineNumbers = ideSettings.showLineNumbers,*/
       freeCaret = ideSettings.useFreeCaret, caretFollowsScrolling = ideSettings.caretFollowsScrolling, 
       tabKey = true, smartHome = true;
-      tabSelection = true, maxLineSize = 65536, parent = this, hasHorzScroll = true, hasVertScroll = true;
+      tabSelection = true, /*maxLineSize = 65536, */parent = this, hasHorzScroll = true, hasVertScroll = true;
       selectionColor = selectionColor, selectionText = selectionText,
       background = codeEditorBG, foreground = codeEditorFG, syntaxColorScheme = colorScheme,
       font = font, borderStyle = none;
index b6dbbed..1cd8b09 100644 (file)
@@ -691,7 +691,7 @@ private:
          replaceEdit = EditBox
          {
             multiLine = true,textHorzScroll = true,textVertScroll = true, 
-            text = $"Replacing Editbox", size = Size { 640,480 },maxLineSize = 65536
+            text = $"Replacing Editbox", size = Size { 640,480 }/*,maxLineSize = 65536*/
          };
       }