Add autoclosing of an environment when using the latex auto fill feature when approiate#1696
Add autoclosing of an environment when using the latex auto fill feature when approiate#1696dam024 wants to merge 4 commits intoSublimeText:masterfrom
Conversation
If the env_auto_trigger settings is true, LaTeXTools asks the user to enter an environment name via a WindowCommand. This modification ensures that the environment is closed automatically when the user triggers this feature with \begin{...}
The following bugs have been fixed:
- When called from the latextools_fill_all TextCommand, the autoclose is not performed
- When completing another command than \begin{...}, the cursor is moved by one character, being after the closing bracket.
The new features are deactivated by default
Regardless the function being gated behind settings, it should behave in sane and consistent ways, when enabled. Otherwise it won't be used by many or will just be cause of follow up issues and/or unnecessary extra maintenance burden. |
This modification improves the Fill-helper autocompletion features of LaTeXTools: