#48 Still problems on code-folding

None
open
debug (9)
2013-02-06
2013-02-05
coconut32
No

This time the code-folding itself does not work well.
For example:
1 int main(){
2
3 }
4
5 void func1(){
6
7 }
8
9 void func2(){
10
11 }

First,fold "main()".
Next,type something at other place.(ie.from line 4 to line 11)
Then,the code struct line(at the left of code) is broken,and the folding of "func1()" and "func2()" will all be disabled,unless I re-open the file.

OS version:Win7
app version:5.3.0.5 RC4
my email:coconut_liu@126.com

Discussion

  • coconut32

    coconut32 - 2013-02-05

    This time the code-folding itself does not work well.
    For example:
    1 int main(){
    2
    3 }
    4
    5 void func1(){
    6
    7 }
    8
    9 void func2(){
    10
    11 }

    First,fold "main()".
    Next,type something at other place.(ie.from line 4 to line 11)
    Then,the code struct line(at the left of code) is broken,and the folding of "func1()" and "func2()" will all be disabled,unless I re-open the file.

    OS version:Win7
    app version:5.3.0.5 RC4
    my email:coconut_liu@126.com

     
  • coconut32

    coconut32 - 2013-02-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -0,0 +1,21 @@
    +This time the code-folding itself does not work well.
    +For example:
    +1 int main(){
    +2 
    +3 }
    +4 
    +5 void func1(){
    +6 
    +7 }
    +8 
    +9 void func2(){
    +10 
    +11 }
    +
    +First,fold "main()".
    +Next,type something at other place.(ie.from line 4 to line 11)
    +Then,the code struct line(at the left of code) is broken,and the folding of "func1()" and "func2()" will all be disabled,unless I re-open the file.
    +
    +OS version:Win7
    +app version:5.3.0.5 RC4
    +my email:coconut_liu@126.com
    
    • milestone: -->
     
  • orwelldevcpp

    orwelldevcpp - 2013-02-05

    Yea, confirmed this dangerous one. Currently working on it to get it off the fix-before-release list.

     
  • orwelldevcpp

    orwelldevcpp - 2013-02-05

    Should be fixed as of RC5, which should pop up today. Attached a preview version of it.

     
  • orwelldevcpp

    orwelldevcpp - 2013-02-05

    Please confirm for me if RC5 fixes these problems.

    Thank you reporting.

     
    • coconut32

      coconut32 - 2013-02-06

      Oh,nice,thank you.
      But a minor problem still remains...
      That's "Undo" & "Redo" don't work right when code-folding is involved.
      For example.Use the same code at above.
      First, type something at line 6.
      Second,press "Undo".
      Then,fold "main()";
      Next,press "Redo".
      Hopefully,you'll find it appears at line 8.

       
  • coconut32

    coconut32 - 2013-02-06

    Oh,nice,thank you.
    But a minor problem still remains...
    That's "Undo" & "Redo" don't work right when code-folding is involved.
    For example.Use the same code at above.
    First, type something at line 6.
    Second,press "Undo".
    Then,fold "main()";
    Next,press "Redo".
    Hopefully,you'll find it appears at line 8.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks