[Github-comments] [geany/geany] Improve auto close (#2943)
elextr
notifications at xxxxx
Sat Oct 16 01:34:53 UTC 2021
@elextr commented on this pull request.
> + if (editor_prefs.autoclose_chars & GEANY_AC_PARENTHESIS)
+ isAutoClosed = TRUE;
+ break;
+ case '}':
+ if (editor_prefs.autoclose_chars & GEANY_AC_CBRACKET)
+ isAutoClosed = TRUE;
+ break;
+ case ']':
+ if (editor_prefs.autoclose_chars & GEANY_AC_SBRACKET)
+ isAutoClosed = TRUE;
+ break;
+ case '\'':
+ if (editor_prefs.autoclose_chars & GEANY_AC_SQUOTE)
+ isAutoClosed = TRUE;
+ break;
+ case '"':
also when changing `foo("abc")` to `foo(bar("abc"))`
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2943#discussion_r730191403
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211015/dab9ba0f/attachment-0001.htm>
More information about the Github-comments
mailing list