Bugzilla – Bug 433271
Problems with code completion while creating #regions
Last modified: 2008-12-03 19:07:36 UTC
If I type a line: #region test Code completion will turn it into: region test #region This is because as soon as I type "#region ", the following appears: region #region (with the cursor in the middle, explaining why "test" appeared where it did) If I type #regi And then use the tab key to auto-complete, everything works very nicely. I only experience the bug if continue typing "#region " manually, or type "#region" and then use the tab key.
Can't reproduce "#region " works. What are your editor settings ? Indentation style, tab as reindent command ? Anything unusual ?
* Text Editor * General X Enable code completion X Enable code folding _ Fold #regions by default X Fold comments by default * Behavior _ Expand templates _ Insert matching brace X Remove trailing whitespace Indentation mode: Smart Tab width: 8 _ Convert tabs to spaces _ Interpret tab keystroke as reindent command X Allow tabs after non tabs Control left/right mode: MonoDevelop I think those are the only relevant options, right?
fixed.
Trunk (rev: 120579) seems to have a regression along the lines of this bug. Typing "#region " into the text editor will result in "region on" or "region n" depending on indentation level. (Indentation Mode: Smart)
I'm a few revisions behind, but I noticed this as well when I updated yesterday.
*** This bug has been marked as a duplicate of bug 448911 ***