Bugzilla – Bug 448911
Typing "#region<SPC>foo" results in "region<SPC>fooon"
Last modified: 2009-03-21 06:54:39 UTC
The summary says it all. Also, when typing it and desiring to have it indented, it outdents a bit. This happens a couple of different ways, as well. For example: “#region<TAB>” yields “regionon”, and one level outdent. “#endregion<ENTER>” yields “endregionon”, and one level outdent. If you type “#re<ENTER><SPC>REGION NAME” it works, but I have not retrained my fingers to have quite as much assistance as they have, yet. ;-)
This is /almost/ a duplicate of bug 429265, in that code completion and the smart indenter are fighting. The indenter should be suppressed while the completion window is open, and triggered when the window closes.
FWIW, #region<ESC> works too.
Michael, Thanks, I hadn't thought to try that. :)
*** Bug 433271 has been marked as a duplicate of this bug. ***
*** Bug 463334 has been marked as a duplicate of this bug. ***
Fixed in r125948.
Sorry, still broken in r125948. Typing "#region " produces "region on".
Using Smart indentation mode, btw. Let me know if I can provide any more info.
Yeah, the smart indenter is antisocial. I've committed a better fix.
Closing.
Thanks for the fix, it works wonderfully!