We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bc4999 commit a48a46bCopy full SHA for a48a46b
src/main.ts
@@ -189,10 +189,6 @@ function main() {
189
// this variable also holds error messages
190
let currentDictionary = lastSavedDictionary;
191
192
- // state for output
193
- let output: null | Generator<Result<string>> = null;
194
- let size = 0;
195
-
196
// load custom dictionary
197
if (!currentDictionary.isError()) {
198
loadCustomDictionary(currentDictionary.unwrap()[0]);
@@ -201,6 +197,10 @@ function main() {
201
showMessage(DICTIONARY_LOADING_FAILED_MESSAGE);
202
}
203
199
200
+ // state for output
+ let output: null | Generator<Result<string>> = null;
+ let size = 0;
+
204
// initial text area size
205
resizeTextarea();
206
function resizeTextarea() {
0 commit comments