Bugs item #1730611, was opened at 2007-06-04 11:13
Message generated for change (Comment added) made by jf505
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1730611&group_id=11005
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: $match_syntax_based is not set
Initial Comment:
5.6 [Under Development] HEAD
Apr 2, 2007
Built on: Linux, 486, GNU C
Built at: Apr 2 2007, 10:50:59
With Motif: 2.2.3 [@(#)Motif Version 2.2.3]
Running Motif: 2.2 [unknown]
Server: The X.Org Foundation 70101000
Visual: 24-bit TrueColor (ID 0x23, Default)
Locale: C
Hi,
The $match_syntax_based system variable is not set in general case.
For example, you can turn on the "Syntax Based" switch
in the Preferences>Show Matching(...) menu but the variable is not
still set. This variable is only mentioned in the manual:
"....$match_syntax_based
Whether pair matching should use syntax information, if available...."
It is unclear, when the syntax information is available.
If one tries to check value of $match_syntax_based, error breaks macro
execution.
When one tries to reset the variable -
set_match_syntax_based($match_syntax_based)
- the error also breaks this operation:
"Error executing macro: variable not set: $match_syntax_based"
Seems that the variable $match_syntax_based must be set in
any case, but it's value can be "true", "false", "undefined" or
1, 0, -1.
Alexey Kuznetsov
----------------------------------------------------------------------
Comment By: Joerg Fischer (jf505)
Date: 2007-10-04 11:43
Message:
Logged In: YES
user_id=918104
Originator: NO
It turned out that the variable was merely forgotten to be made available.
I don't like to copy the fix in here, so I submit it to the develop list.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1730611&group_id=11005
--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop