Skip to content

Commit

Permalink
bobbylight#493 make 2 methods public in RTextArea
Browse files Browse the repository at this point in the history
If the methods are made  public, I will be able delete class linked in the issue bobbylight#493. It was a package rewrite hack to make these 2 methods accessible.
  • Loading branch information
nbauma109 authored Apr 1, 2023
1 parent f339221 commit 1405155
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public boolean canRedo() {
* @see #getMarkAllHighlightColor()
* @see #setMarkAllHighlightColor(Color)
*/
void clearMarkAllHighlights() {
public void clearMarkAllHighlights() {
((RTextAreaHighlighter)getHighlighter()).clearMarkAllHighlights();
//markedWord = null;
repaint();
Expand Down Expand Up @@ -956,7 +956,7 @@ public static synchronized void loadMacro(Macro macro) {
* @see #getMarkAllHighlightColor()
* @see #setMarkAllHighlightColor(Color)
*/
void markAll(List<DocumentRange> ranges) {
public void markAll(List<DocumentRange> ranges) {

RTextAreaHighlighter h = (RTextAreaHighlighter)getHighlighter();
if (/*toMark!=null && !toMark.equals(markedWord) && */h!=null) {
Expand Down

0 comments on commit 1405155

Please sign in to comment.