#315 Ctrl+E before an unmatched brace jumps to file begin

Bug
closed-fixed
SciTE (626)
2
2014-08-12
2005-06-16
Piotr Fusik
No

This is a counter-intuitive behavior. It doesn't show up
when the caret is after an unmatched brace.

Discussion

  • Philippe Lhoste

    Philippe Lhoste - 2005-06-16

    Logged In: YES
    user_id=2556

    I cannot reproduce this, at least on Windows (you didn't
    gave the platform of your test).

    But I have a related (?) problem:
    In a C source, my caret can be just before or just after a
    brace, the characters are highlighted and Ctrl+E jumps
    correctly to the matching brace.
    In a PHP source, if the caret is before a brace, no
    highlighting and no jump. It works only if the caret is
    after the brace.
    How come we have such a difference, I always thought this
    behaviour was language independant?

     
  • Neil Hodgson

    Neil Hodgson - 2005-06-17
    • priority: 5 --> 2
    • assigned_to: nobody --> nyamatongwe
     
  • Neil Hodgson

    Neil Hodgson - 2005-06-17

    Logged In: YES
    user_id=12579

    With C++, start a file with
    xxx )
    Place caret before ) and press Ctrl+E and it goes to start
    of file.

    For PHP, the file is a mixture of PHP, HTML, Javascript and
    other languages and so SciTE does not look for braces in a
    particular style so different code is executed which does
    not work so well.

    I won't be working on this in the near future.

     
  • Neil Hodgson

    Neil Hodgson - 2014-04-04
    • status: open --> closed-fixed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks