File tree Expand file tree Collapse file tree
richtextfx/src/main/java/org/fxmisc/richtext Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ private void updateAllCaretShapes() {
328328 }
329329
330330 private void updateSingleCaret (CaretNode caretNode ) {
331- PathElement [] shape = getCaretShape (getClampedCaretPosition (caretNode ), true );
331+ PathElement [] shape = caretShape (getClampedCaretPosition (caretNode ), true );
332332 caretNode .getElements ().setAll (shape );
333333 }
334334
Original file line number Diff line number Diff line change @@ -52,10 +52,6 @@ int getLineOfCharacter(int charIdx) {
5252 return navigator .offsetToPosition (charIdx , Forward ).getMajor ();
5353 }
5454
55- PathElement [] getCaretShape (int charIdx , boolean isLeading ) {
56- return caretShape (charIdx , isLeading );
57- }
58-
5955 PathElement [] getRangeShape (IndexRange range ) {
6056 return getRangeShape (range .getStart (), range .getEnd ());
6157 }
You can’t perform that action at this time.
0 commit comments