Attempt to fix the accept/cancel bar - no success.
authorvrany
Thu, 07 Jul 2011 13:33:54 +0200
changeset 10244 9dac22861b94
parent 10243 f8b2067424ed
child 10245 1a1b298637d1
Attempt to fix the accept/cancel bar - no success.
Tools__CodeHighlightingService.st
--- a/Tools__CodeHighlightingService.st	Thu Jul 07 12:40:45 2011 +0200
+++ b/Tools__CodeHighlightingService.st	Thu Jul 07 13:33:54 2011 +0200
@@ -205,10 +205,12 @@
 
     "/ this clobbers the codeViews modified state; therefore, we have to remember
     "/ this info somewhere ...
-    textView modified ifTrue:[
-        codeView modifiedChannel value:true
+    codeView browser ifNotNil:[
+        textView modified ifTrue:[
+            codeView browser navigationState realModifiedState: true
+        ].
+        textView modifiedChannel setValue:false.
     ].
-    textView modifiedChannel setValue:false.
 
     worker notNil ifTrue:[
         workerRunning ~~ true ifTrue:[
@@ -302,6 +304,7 @@
 
     "Modified: / 10-04-2011 / 18:21:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 05-07-2011 / 11:09:15 / cg"
+    "Modified: / 07-07-2011 / 12:26:12 / Jan Vrany <jan.vrant@fit.cvut,cz>"
 !
 
 stopSyntaxHighlightProcess
@@ -347,7 +350,7 @@
 !CodeHighlightingService class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeHighlightingService.st,v 1.5 2011-07-06 19:00:46 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__CodeHighlightingService.st,v 1.6 2011-07-07 11:33:54 vrany Exp $'
 !
 
 version_SVN