Menu

#193 Python multiline strings wo/indent fool folding

Bug
closed-fixed
2
2024-05-28
2004-04-17
No

In Python it is common, and often necessary, to have
multiline strings where subsequent lines do not follow
Python indentation rules, because you don't want the
text in the resulting string to be indented.

These strings confuse folding in SCiTE. For the
purposes of folding, they should be ignored (that is,
treated as a single-line string).

Discussion

  • John Belmonte

    John Belmonte - 2004-04-17

    example of folding problem

     
  • Neil Hodgson

    Neil Hodgson - 2004-04-17
    • priority: 5 --> 2
     
  • Neil Hodgson

    Neil Hodgson - 2004-04-17

    Logged In: YES
    user_id=12579

    Won't be fixed in the near future.

     
  • Neil Hodgson

    Neil Hodgson - 2004-04-17
    • assigned_to: nobody --> nyamatongwe
     
  • Nobody/Anonymous

    Logged In: NO

    It's now "far future" and the bug still persists.
    If you don't want to fix it, how would you recommend going about fixing it?

     
  • Neil Hodgson

    Neil Hodgson - 2006-12-19

    Logged In: YES
    user_id=12579
    Originator: NO

    Discuss it on the mailing list, read the source code.

     
  • Zufu Liu

    Zufu Liu - 2024-05-28
    • labels: SciTE --> SciTE, python, lexilla
    • status: open --> closed-fixed
     
  • Zufu Liu

    Zufu Liu - 2024-05-28

    Fixed by set fold.quotes.python property to 1.

     

Log in to post a comment.