Menu

#202 Automatically indent blocks while typing

v1.1.x
closed
None
v1.1.0
New Functionality
2017-05-28
2017-05-15
Erik Hänel
No

If NumeRe would automatically indent the blocks corresponding to their level while typing, this would be a nice feature.

Analysis:
This can be done by changing the interface of NumeReEditor::ApplyAutoIndentation() so that one may pass the lines, where the Autoindentation may be applied. Furthermore, this has to be hooked asynchronously into the OnModified event handler so that it doesn't block the editor and is also responsive to mouse change events.

Implementation:
The implementation was performed as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
The menu strings were added to the language files. A description of the feature was added to the documentation articles concerning the editor.

Tests:
Tests were performed without deviation. Functionality was implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2017-05-15
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2017-05-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
     If NumeRe would automatically indent the blocks corresponding to their level while typing, this would be a nice feature.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2017-05-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,7 @@
     If NumeRe would automatically indent the blocks corresponding to their level while typing, this would be a nice feature.
    
     **Analysis:**
    +This can be done by changing the interface of `NumeReEditor::ApplyAutoIndentation()` so that one may pass the lines, where the Autoindentation may be applied. Furthermore, this has to be hooked asynchronously into the OnModified event handler so that it doesn't block the editor and is also responsive to mouse change events.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-05-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,7 +4,9 @@
     This can be done by changing the interface of `NumeReEditor::ApplyAutoIndentation()` so that one may pass the lines, where the Autoindentation may be applied. Furthermore, this has to be hooked asynchronously into the OnModified event handler so that it doesn't block the editor and is also responsive to mouse change events.
    
     **Implementation:**
    +The implementation was performed as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +The menu strings were added to the language files. A description of the feature was added to the documentation articles concerning the editor.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2017-05-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -10,3 +10,4 @@
     The menu strings were added to the language files. A description of the feature was added to the documentation articles concerning the editor.
    
     **Tests:**
    +Tests were performed without deviation. Functionality was implemented successfully.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB