File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
indigo_app/static/javascript/indigo/views Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -90,18 +90,16 @@ class AknTextEditor {
90
90
this . dirty = false ;
91
91
}
92
92
93
- if ( ! this . updating ) {
94
- this . previousText = this . unparse ( ) ;
93
+ this . previousText = this . unparse ( ) ;
95
94
96
- // only default liveUpdates to true if the document isn't too long
97
- // a 100k document takes about 0.5s to parse, which is our upper limit
98
- this . setLiveUpdates ( this . previousText . length < 100000 ) ;
95
+ // only default liveUpdates to true if the document isn't too long
96
+ // a 100k document takes about 0.5s to parse, which is our upper limit
97
+ this . setLiveUpdates ( this . previousText . length < 100000 ) ;
99
98
100
- this . monacoEditor . setValue ( this . previousText ) ;
101
- const top = { column : 1 , lineNumber : 1 } ;
102
- this . monacoEditor . setPosition ( top ) ;
103
- this . monacoEditor . revealPosition ( top ) ;
104
- }
99
+ this . monacoEditor . setValue ( this . previousText ) ;
100
+ const top = { column : 1 , lineNumber : 1 } ;
101
+ this . monacoEditor . setPosition ( top ) ;
102
+ this . monacoEditor . revealPosition ( top ) ;
105
103
}
106
104
107
105
async onTextChanged ( ) {
You can’t perform that action at this time.
0 commit comments