[colorer/Colorer-schemes] master: cpp: functions outliner list cleanup (f30af49)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Oct 6, 2025, 3:01:01 PMOct 6
to farco...@googlegroups.com
Repository : https://github.com/colorer/Colorer-schemes
On branch : master
Link : https://github.com/colorer/Colorer-schemes/commit/f30af4972333a15c2579131d4ab1d4b410c332d9

>---------------------------------------------------------------

commit f30af4972333a15c2579131d4ab1d4b410c332d9
Author: exkrexpexfex <75270873+e...@users.noreply.github.com>
Date: Tue Aug 26 11:37:25 2025 +0300

cpp: functions outliner list cleanup


>---------------------------------------------------------------

f30af4972333a15c2579131d4ab1d4b410c332d9
base/hrc/base/cpp.hrc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/base/hrc/base/cpp.hrc b/base/hrc/base/cpp.hrc
index 595ed3b..1ec0588 100644
--- a/base/hrc/base/cpp.hrc
+++ b/base/hrc/base/cpp.hrc
@@ -509,7 +509,7 @@
region3="cFunc"/>-->

<regexp><![CDATA[
- /^ \M \s* (typedef)?!
+ /^ \M \s* (typedef)?! (return)?!
(\w[\w_*&<>~,:]+ \s [\s\w_*&<>~\",:]*?)?

(?{c:FuncOutline}
@@ -517,6 +517,7 @@
)

(\sfor)?~4 (\sif)?~3 (\swhile)?~6 (\sswitch)?~7 (\scatch)?~6
+ (printf)?~6 (constexpr)?~9 (\s<<)?~3
\s* \( [^;]* ($|\{)/x
]]></regexp>
<!--


Reply all
Reply to author
Forward
0 new messages