vlad2305m

Results 7 comments of vlad2305m

Maybe it happens when cursor ends up outside the file, but `app.vault.modify()` works fine with that when I use Templater. This appers twice in the console: ``` RangeError: Invalid change...

So here is how it happens: 1. line 7779: `view.dispatch()` with ```js combinedChanges = '[94,[2,"→"]]' combinedChanges.inserted = '[[""],["→"]]' combinedChanges.sections = '[94,-1,2,1]' -length: 96 -newLength: 95 ``` shrinks the document. 2....

Just by changing `view.state.doc.length` to `docLength` everything works again. Awesome code design 👏🏻 👏🏻 👏🏻

[here](https://github.com/artisticat1/obsidian-latex-suite/blob/ea66e3dcae941de980938da32590ab2b3291dffe/src/snippet_manager.ts#L210)

I never use automatic snippets ) Feel like Tab is better than Ctrl+z So without options.

It would expand lr[ text only if the closing bracket is present after cursor. Closing bracket is also captured by the group and substituted into [[a0]] like with groups captured...