lifenjoiner

Results 70 comments of lifenjoiner

`Ctrl + /` does work on vbs, and there is no block comment delimiter in vbs, so `Ctrl + Q` is not available.

If so, it's another thing. You should use a clear title 🙂

"Work or not" and "discuss choosing which key set" are totally different things. Good luck!

不妨试试把自动完成的最小匹配长度调大一些。 对于那些长单词,自动完成还是很省事的~

有量化数据可以参考一下: ![AWL-en](https://user-images.githubusercontent.com/19585474/120957101-a0f73500-c787-11eb-88cb-c0fb1d81135a.png) https://www.wolframalpha.com/input/?i=average+word+length+in+English 考虑: 1. 超过平均长度,辅助效果下降。 2. 1、2 太小,有较多匹配的话,选择并不省事;又使这些短单词要多按一键取消补全,直接输入省事。 建议: 在 3 ~ 5 之间自行体验选择。

> 还有逗号自动加空格,引号、括号自动一对等 不是很理解。这不是正常的书写格式吗?

Besides the breaking line case, one more example: ```bat for %%^" in ("cmd.exe") do ( echo %%^" echo %%^~^d^p^n^x^" ) ``` Although it is not a usual case, but it...

BTW: ```bat reg delete "HKCR\.fdf" /f reg delete "HKCR\AppID\{GUID}" /f ``` `\` is escape char for some special commands, normally, it isn't.

Updated: Breaking line FOR clause case is fixed. `BacktrackToStart` is great! Left: `if (command == Command::Escape && (sc.chNext == '\\' || sc.chNext == '"'))` doesn't work because of: https://github.com/zufuliu/notepad2/blob/e0fc12c0930fd17074fd50c3cd66a4da384bb77b/scintilla/lexers/LexBatch.cxx#L304

Updated, and tested with the attached cases and many `.bat`/`.cmd` files. [Test-BatIteratorVar.zip](https://github.com/zufuliu/notepad2/files/6740488/Test-BatIteratorVar.zip) 2 special cases was found: ```bat for /F "tokens=1-31,*" %%^" ^ in ("1 2 3 4 5 6...