Tools__CodeHighlightingService.st
branchjv
changeset 19608 98f7cba0ce8c
parent 18532 cccb41254edf
--- a/Tools__CodeHighlightingService.st	Wed Sep 15 16:10:12 2021 +0100
+++ b/Tools__CodeHighlightingService.st	Wed Sep 15 21:39:40 2021 +0100
@@ -1,6 +1,7 @@
 "
  COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague
  COPYRIGHT (c) 2016 Jan Vrany
+ COPYRIGHT (c) 2021 LabWare
               All Rights Reserved
 
 Permission is hereby granted, free of charge, to any person
@@ -41,6 +42,7 @@
 "
  COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague
  COPYRIGHT (c) 2016 Jan Vrany
+ COPYRIGHT (c) 2021 LabWare
               All Rights Reserved
 
 Permission is hereby granted, free of charge, to any person
@@ -66,6 +68,7 @@
 "
 ! !
 
+
 !CodeHighlightingService class methodsFor:'accessing'!
 
 label
@@ -419,6 +422,17 @@
     "Modified: / 20-01-2015 / 15:17:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+!CodeHighlightingService methodsFor:'registering'!
+
+registerIn: aCodeView
+
+    super registerIn: aCodeView.
+    textView addDependent: self.
+    syntaxPreferences := aCodeView theme
+
+    "Created: / 15-09-2021 / 21:16:47 / Jan Vrany <jan.vrany@labware.com>"
+! !
+
 !CodeHighlightingService class methodsFor:'documentation'!
 
 version