Menu

#3898 Bracket matching not working on very large files with brackets very far apart

normal bug
open
nobody
None
5
2015-02-02
2014-12-21
No

The functionality for Bracket Matching does not work when the beginning and ending brackets are very far apart. This has occurred on very large files where a pair of brackets are very far apart. I do not know whether or not this is because the attempt to find the matching bracket just takes so long a time that it will never return as completed or whether or not there is some limit on the number of bytes/lines between matching brackets, but jedit should give some information of what is going on. It is very annoying to edit a very large file in jedit and get back no indication when Bracket Matching is supposed to be occurring. Along with Bracket Matching not happening the various various Bracket Matching functionality, most specifically Got to Matching Bracket, does not work in these same situations.

Related

Bugs: #3898

Discussion

  • Alan Ezust

    Alan Ezust - 2014-12-21

    Not enough information to reproduce. Please attach a file as a test case.

     
  • Edward Diener

    Edward Diener - 2014-12-21

    I cannot attach the very large file ( 270 MB ) which illustrates the problem here. SF resets itself rather than allow that size of attachment.

     
    • Alan Ezust

      Alan Ezust - 2014-12-21

      Perhaps you can post it to a dropbox like site and attach a link to it?

      On Sun, Dec 21, 2014 at 5:03 AM, Edward Diener eldienerlee@users.sf.net
      wrote:

      I cannot attach the very large file ( 270 MB ) which illustrates the
      problem here. SF resets itself rather than allow that size of attachment.


      [bugs:#3898] Bracket matching not working on very large files with
      brackets very far apart

      Status: open
      Group: normal bug
      Created: Sun Dec 21, 2014 06:02 AM UTC by Edward Diener
      Last Updated: Sun Dec 21, 2014 07:37 AM UTC
      Owner: nobody

      The functionality for Bracket Matching does not work when the beginning
      and ending brackets are very far apart. This has occurred on very large
      files where a pair of brackets are very far apart. I do not know whether or
      not this is because the attempt to find the matching bracket just takes so
      long a time that it will never return as completed or whether or not there
      is some limit on the number of bytes/lines between matching brackets, but
      jedit should give some information of what is going on. It is very annoying
      to edit a very large file in jedit and get back no indication when Bracket
      Matching is supposed to be occurring. Along with Bracket Matching not
      happening the various various Bracket Matching functionality, most
      specifically Got to Matching Bracket, does not work in these same
      situations.


      Sent from sourceforge.net because you indicated interest in <
      https://sourceforge.net/p/jedit/bugs/3898/>

      To unsubscribe from further messages, please visit <
      https://sourceforge.net/auth/subscriptions/>

       

      Related

      Bugs: #3898

  • Oswaldo Olivo

    Oswaldo Olivo - 2015-02-02

    From my understanding, it seems that jEdit only matches brackets that are at most 10000 lines apart.

     
    • Edward Diener

      Edward Diener - 2015-02-02

      Is this mentioned anywhere in the documentation to jedit ? If not, where did you find this information ?

       
  • Oswaldo Olivo

    Oswaldo Olivo - 2015-02-02

    I don't think this is mentioned in the documentation, as I don't see it here:
    http://www.jedit.org/users-guide/bracket-matching.html

    I found that out by looking at the source code, and then confirming this fact with a few tests.

    I'm an independent researcher, not actively involved in the development of jEdit, so hopefully one of the jEdit team can confirm this.

    I think it would be helpful to note that bracket matching is bounded in the documentation.

     

Log in to post a comment.