--- a/SmallSense__EditSupport.st Fri Feb 17 11:08:18 2017 +0100
+++ b/SmallSense__EditSupport.st Thu Feb 23 19:46:14 2017 +0100
@@ -271,8 +271,8 @@
with:((String new:indent withAll:Character space) , closeText).
self electricInsert:lines advanceCursorBy:1 @ (indent + 5)
].
- ] ensure:[
- textView autoIndent:autoIndent
+ ] ensure:[
+ textView autoIndent:autoIndent
].
"Created: / 25-07-2013 / 10:41:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
@@ -293,18 +293,18 @@
by the view.
IMPORTANT: Never ever call `^ super keyPress: key x:x y:y in: view`,
- as keyPresIgnore... advances position and calling keyPressIgnore here
+ as keyPressIgnore... advances position and calling keyPressIgnore here
and calling super would advance it twice!!
"
view ~~ textView ifTrue:[ ^ false ].
(self keyPressIgnored: key) ifTrue:[
- ^ true.
+ ^ true.
].
key == Character space ifTrue:[
- ^ self electricInsertSnippet
+ ^ self electricInsertSnippet
].
^false
@@ -364,7 +364,7 @@
(UserPreferences current smallSenseCompletionEnabled == true) ifTrue:[
self completionEngineClass notNil ifTrue:[
|textView|
-
+
textView := service textView.
controller := self completionControllerClass for: textView.
controller support: self.