[ nedit-Bugs-1730611 ] $match_syntax_based is not set
SourceForge.net
noreply at sourceforge.net
Mon Jun 4 13:13:14 CEST 2007
Bugs item #1730611, was opened at 2007-06-04 04:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1730611&group_id=11005
More information about the Develop
mailing list