--- a/Tools__LintHighlighter.st Mon May 16 06:49:42 2016 +0200
+++ b/Tools__LintHighlighter.st Tue May 17 07:04:09 2016 +0200
@@ -179,10 +179,10 @@
"Modified: / 02-12-2014 / 11:29:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
-formatMethod:mth source:source in:class using: preferences elementsInto: elements
+formatMethod:mth source:sourceString in:class using: preferences elementsInto: elements
formattingMethod := true.
- ^ self format: source in: class
+ ^ self format: sourceString in: class
"Created: / 04-08-2011 / 23:42:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 02-12-2014 / 11:30:02 / Jan Vrany <jan.vrany@fit.cvut.cz>"
@@ -190,12 +190,12 @@
!LintHighlighter methodsFor:'formatting-private'!
-format: text in: class
+format: sourceString in: class
| tree t |
- tree := RBParser parseMethod: text string onError:[:error :pos| ^ text ].
- t := text asText.
+ tree := RBParser parseMethod: sourceString string onError:[:error :pos| ^ sourceString ].
+ t := sourceString asText.
self format: t tree: tree in: class.
^t