Skip to content

Commit

Permalink
Fixes #312 Editor: Toggle Highlight of All Occurrences - made case in…
Browse files Browse the repository at this point in the history
…sensitive
  • Loading branch information
krasa committed Nov 1, 2024
1 parent 9869316 commit fd705ac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## [Unreleased]

## [13.2.0-IJ2023.3] - 2024-11-01
- Editor: Toggle Highlight of All Occurrences - made case insensitive

## [13.1.0-IJ2023.3] - 2024-08-08
- Fix: IJ 2024.2 startup fix - LookAndFeelListener

Expand Down Expand Up @@ -43,8 +46,8 @@
## [12.20.1-IJ2021.1] - 2023-08-27
- Grep - improved usability

[Unreleased]: https://github.com/krasa/GrepConsole/compare/v13.1.0-IJ2023.3...HEAD

[Unreleased]: https://github.com/krasa/GrepConsole/compare/v13.2.0-IJ2023.3...HEAD
[13.2.0-IJ2023.3]: https://github.com/krasa/GrepConsole/compare/v13.1.0-IJ2023.3...v13.2.0-IJ2023.3
[13.1.0-IJ2023.3]: https://github.com/krasa/GrepConsole/compare/v13.0.2-IJ2023.3...v13.1.0-IJ2023.3
[13.0.2-IJ2023.3]: https://github.com/krasa/GrepConsole/compare/v13.0.1-IJ2023.3...v13.0.2-IJ2023.3
[13.0.1-IJ2023.3]: https://github.com/krasa/GrepConsole/compare/v13.0.0-IJ2023.3...v13.0.1-IJ2023.3
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pluginGroup=GrepConsole
pluginName=GrepConsole
pluginRepositoryUrl=https://github.com/krasa/GrepConsole
# SemVer format -> https://semver.org
pluginVersion=13.1.0-IJ2023.3
pluginVersion=13.2.0-IJ2023.3
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild=233
pluginUntilBuild=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,12 @@ private void addExpressionItem(String string, Color color, final Profile profile
GrepStyle style = new GrepStyle();
style.setForegroundColor(new GrepColor(Color.BLACK));
style.setBackgroundColor(new GrepColor(color));
GrepExpressionItem item = new GrepExpressionItem().grepExpression(string).caseInsensitive(true).style(style).highlightOnlyMatchingText(
true).operationOnMatch(Operation.CONTINUE_MATCHING);

java.util.List<GrepExpressionGroup> grepExpressionGroups = profile.getGrepExpressionGroups();
GrepExpressionGroup group = grepExpressionGroups.get(0);
group.getGrepExpressionItems().add(0,
new GrepExpressionItem().grepExpression(string).style(style).highlightOnlyMatchingText(
true).operationOnMatch(Operation.CONTINUE_MATCHING));
group.getGrepExpressionItems().add(0, item);
}


Expand Down

0 comments on commit fd705ac

Please sign in to comment.