You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Option to determine specific prefixes for quote insertion (#5067)
* add new behaviour option to determine specific prefixes for quote insertion
* make quotes check more generic; add auto quote insertion for javascript (backtick)
* change cstyle behaviours option to more suitable
* add type definition for Mode; move `$pairQuotesAfter` from options to mode property
Issue #5063
Copy file name to clipboardExpand all lines: src/edit_session.js
+8-3
Original file line number
Diff line number
Diff line change
@@ -820,14 +820,19 @@ EditSession.$uid = 0;
820
820
821
821
this.$modes=config.$modes;
822
822
823
+
/**
824
+
*
825
+
* @type {TextMode|null}
826
+
*/
827
+
this.$mode=null;
828
+
this.$modeId=null;
829
+
823
830
/**
824
831
* Sets a new text mode for the `EditSession`. This method also emits the `'changeMode'` event. If a [[BackgroundTokenizer `BackgroundTokenizer`]] is set, the `'tokenizerUpdate'` event is also emitted.
0 commit comments