Skip to content

Codeeditor class improvements#4057

Merged
danmar merged 2 commits into
cppcheck-opensource:mainfrom
ntfshard:codeeditor-improvement
Apr 29, 2022
Merged

Codeeditor class improvements#4057
danmar merged 2 commits into
cppcheck-opensource:mainfrom
ntfshard:codeeditor-improvement

Conversation

@ntfshard

@ntfshard ntfshard commented Apr 27, 2022

Copy link
Copy Markdown
Contributor
  • Old version of RegExp for highlighting lines in codeeditor class works not good enough for cases with several strings in one line.
  • 4 identifiers added to keywordPatterns list. Technically user can use it as names for functions or objects, but it shouldn't be a huge problem in such context.

Old behaviour:
image

New:
image

Case when objects and functions can be treated ad identifier:
image

@danmar danmar merged commit 3ca2eb9 into cppcheck-opensource:main Apr 29, 2022
@ntfshard ntfshard deleted the codeeditor-improvement branch April 29, 2022 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants