#79 "Add indent" maybe misnamed. And misbehaves when text already-present.

None
fixed
None
2013-05-22
2013-05-07
No

Version: 5.4.2 RC9

1) With the "Add indent to { } and :" option turned on, pressing Enter to begin a new line works perfect when there is no text following the cursor on the same line. But when there is text following the cursor, it gets indented with all tabs always, instead-of the preceding line's particular sequence of tabs and spaces.

2) The auto-indent happens on any text. And "{ } :" characters cause auto-indent one-tab-more. But only this latter feature is described in the option-label ("Add indent to { } and :"). Maybe this option could either be (a) split into two options, (with the latter grayed-out when the first is disabled); or (b) renamed something more-accurate like.. "Auto-indent. Extra after { } and :".

Discussion

  • Extropian314

    Extropian314 - 2013-05-07
     
    Last edit: Extropian314 2013-05-07
  • orwelldevcpp

    orwelldevcpp - 2013-05-08

    So, basically always enable indent remembering, and use this option for the additional indent option after typing { and :? Sounds about right.

     
    • Extropian314

      Extropian314 - 2013-05-08
       
      Last edit: Extropian314 2013-05-08
  • Extropian314

    Extropian314 - 2013-05-08

    Yeah great, except I wouldn't always enable indent-remembering. (I don't know; maybe you could take a poll. I guess I would be happy with it always turned on, but maybe others would want it off sometimes. Seems like a strong feature to force always.. like always having a particular syntax-coloring).

     
  • orwelldevcpp

    orwelldevcpp - 2013-05-16
    • status: open --> fixed
    • assigned_to: orwelldevcpp
     
  • orwelldevcpp

    orwelldevcpp - 2013-05-16

    Implemented as summarized in my previous post.

     

Log in to post a comment.