Patch #2536 2008-08-01 15:12

pecan

Fix for margins on file reload bug #014298
Download
2536-Fix_for_margin.patch (438 bytes)
Category
 
Status
Closed
Close date
2008-08-01 15:55
Assigned to
 
Index: src/sdk/cbeditor.cpp
===================================================================
--- src/sdk/cbeditor.cpp    (revision 5170)
+++ src/sdk/cbeditor.cpp    (working copy)
@@ -1170,6 +1170,9 @@
     if (!Open(detectEncoding))
         return false;
 
+    // Re-establish margin styles, width,  etc
+    SetEditorStyleAfterFileOpen();
+
     // return (if possible) to old pos
     if (m_pControl)
         m_pControl->GotoPos(pos); 
killerbot 2008-08-01 15:55

applied, thanks.