FileApplicationNoteBook.st
branchjv
changeset 19611 a4b9d283ca40
parent 19606 77274bbcd92b
--- a/FileApplicationNoteBook.st	Fri Sep 17 15:10:16 2021 +0100
+++ b/FileApplicationNoteBook.st	Tue Sep 21 13:45:08 2021 +0100
@@ -414,12 +414,14 @@
         stream nextPutAll:aSymbol asString.
         stream nextPut:$].
         text := stream contents asText.
-        text emphasizeAllWith:UserPreferences current emphasisForModifiedBuffer.
+        text emphasizeAllWith:SystemBrowser emphasisForModifiedBuffer.
     ] ifFalse:[
         text := stream contents asText.
     ].
 
     self tabStringChangeTo:text for:anAppl.
+
+    "Modified: / 17-09-2021 / 15:00:56 / Jan Vrany <jan.vrany@labware.com>"
 !
 
 closeSubCanvas:aApplication
@@ -6569,12 +6571,14 @@
     (textEditorModificationTime ~= fileModificationTime) ifTrue:[
         "file contents has been changed by someone else"
         message := (resources string:message with:item fileName baseName) allBold
-                        emphasisAllAdd:(UserPreferences current emphasisForModifiedBuffer).
+                        emphasisAllAdd:(SystemBrowser emphasisForModifiedBuffer).
         message = self notifyChannel value ifFalse:[
             self notify:message.
             self itemChanged value:true.
         ].
     ].
+
+    "Modified: / 17-09-2021 / 15:00:50 / Jan Vrany <jan.vrany@labware.com>"
 !
 
 checkItemForChangesWithNewSetup