#574 XResouces mode bug

open
nobody
None
5
2006-12-28
2006-12-28
Anonymous
No

Hi,

Editing nedit.rc file I have found a bug of XResurces mode and
localized it as follows.

1. Try to delete last symbol in following line in XResurces mode

Math:"\\\\\\[":"(?=\\\\end\\s*\\n?\\s*\\{\\*?\\})|(?:\\$)|\\\\\\)"::LaTeX Math::\n\

Nedit eats all CPU time and hangs.

2. Try to copy/paste following line in XResurces mode with AutoNewline wrapping

Math:"\\\\\\[":"(?=\\\\end\\s*\\n?\\s*\\{(?:math)\\*?\\})|(?:\\$)|\\\\\\)"::LaTeX Math::\n\

Nedit "hangs" for a period of the order of 1 min (1 GHz Pentium M)
This period becomes practically infinite if line is a bit more complicated.
All is OK if line does not contain a forward space or when None/Continuous wrapping is used.

This behavior is observed for both CVS-Nedit compiled against lesstif and binary
Nedit-5.5.

Alexey Kuznetsov
kuzn@htsc.mephi.ru

5.6 [Under Development] HEAD
Dec 28, 2006

Built on: Linux, 486, GNU C
Built at: Dec 28 2006, 18:12:19
With Motif: 1.2.0 [@(#)GNU/LessTif Version 1.2 Release 0.93.94]
Running Motif: 1.2 [unknown]
Server: The X.Org Foundation 70000000
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: en_US

NEdit 5.5
Sep 30, 2004

Built on: Linux, 386, GNU C
Built at: Oct 1 2004, 15:55:40
With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
Server: The X.Org Foundation 70000000
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: en_US

Discussion


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