You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As pointed out by @kugel- on IRC some functions show scope "unknown" when the cursor is inside them, but they would be expected to show the function name, eg document_open_file()
I found it seems to be if the function declaration is more than one line, the scope shows "unknown" when the cursor is in the function body, change the declaration to one line and the scope shows correctly.
The text was updated successfully, but these errors were encountered:
Since the Scintilla C++ lexer started to fold on `()` [1], the code
looking up the current scope is confused whenever the function
signature spans multiple lines. Fix this by resolving matching
parentheses on the candidate line before checking the fold level that
follows actually contains the current line.
Fixesgeany#1279.
[1] https://sourceforge.net/p/scintilla/feature-requests/1138/
imported in 24f9198
Since the Scintilla C++ lexer started to fold on `()` [1], the code
looking up the current scope is confused whenever the function
signature spans multiple lines. Fix this by skipping fold levels that
correspond to parentheses.
Fixesgeany#1279.
[1] https://sourceforge.net/p/scintilla/feature-requests/1138/
imported in 24f9198
Since the Scintilla C++ lexer started to fold on `()` [1], the code
looking up the current scope is confused whenever the function
signature spans multiple lines. Fix this by skipping fold levels that
correspond to parentheses.
Fixesgeany#1279.
[1] https://sourceforge.net/p/scintilla/feature-requests/1138/
imported in 24f9198
As pointed out by @kugel- on IRC some functions show scope "unknown" when the cursor is inside them, but they would be expected to show the function name, eg
document_open_file()
I found it seems to be if the function declaration is more than one line, the scope shows "unknown" when the cursor is in the function body, change the declaration to one line and the scope shows correctly.
The text was updated successfully, but these errors were encountered: