Menu

#312 Implement sectioning with special comment sequences

v1.1.x
closed
None
v1.1.1
New Functionality
2018-04-25
2018-04-12
Erik Hänel
No

Implement sectioning with special comment sequences in the source code. E.g. %% in MATLAB or ### in NumeRe codes.

Analysis:
The sectioning itself can be done based upon the Scintilla marker functionality. If one changes the behavior of "Goto next bookmark" "Goto previous bookmark" one may also jump from section to section.

Because the calculation of the section's lines seems to be quite time-consuming, the handler has to be called asynchronously from the wxWidgets default OnIdle(wxIdleEvent) event handler, so that it is only performed if no other action is currently executed and the UI is not blocked.

Implementation:
The functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.

Documentation:
The functionality was documented in the changes log and in the documentation articles concerning the editor.

Tests:
The functionality was tested in productive environment and no deviations were detected. New functionality implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2018-04-14
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2018-04-15
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
     Implement sectioning with special comment sequences in the source code. E.g. `%%` in MATLAB or `###` in NumeRe codes.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2018-04-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,9 @@
     Implement sectioning with special comment sequences in the source code. E.g. `%%` in MATLAB or `###` in NumeRe codes.
    
     **Analysis:**
    +The sectioning itself can be done based upon the Scintilla marker functionality. If one changes the behavior of "Goto next bookmark" "Goto previous bookmark" one may also jump from section to section.
    +
    +Because the calculation of the section's lines seems to be quite time-consuming, the handler has to be called asynchronously from the wxWidgets default `OnIdle(wxIdleEvent)` event handler, so that it is only performed if no other action is currently executed and the UI is not blocked.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2018-04-19
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -6,7 +6,9 @@
     Because the calculation of the section's lines seems to be quite time-consuming, the handler has to be called asynchronously from the wxWidgets default `OnIdle(wxIdleEvent)` event handler, so that it is only performed if no other action is currently executed and the UI is not blocked.
    
     **Implementation:**
    +The functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.
    
     **Documentation:**
    +The functionality was documented in the changes log and in the documentation articles concerning the editor.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2018-04-25
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -12,3 +12,4 @@
     The functionality was documented in the changes log and in the documentation articles concerning the editor.
    
     **Tests:**
    +The functionality was tested in productive environment and no deviations were detected. New functionality implemented successfully.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB