soul-browser/app/res/drawable-xhdpi-v4
KaKi87 b6d8280e2d
Add whole-word toggle to Find in page (#100)
* Add a whole-word toggle to Find in page.

Match-whole-word uses window.find so substring hits inside larger words are skipped; the Ab icon dims when off.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix Find in page crash from MainApp.E1 type mismatch.

The recompiled find bar loaded E1 as float; it is an int, so promote with int-to-float in dispatchDraw.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix Find in page crash from MainUtil.c8/X4 signatures.

Those helpers take View, not EditText; the recompiled find bar used the wrong descriptor.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Tighten Find bar layout and keep whole-word highlights.

Place the whole-word toggle between clear and the match count, use tighter equal action-icon spacing, and highlight every whole-word hit with mark tags instead of only the current selection.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix whole-word find returning 0/0 after the first mark.

Stop reassigning the text node to the right remnant when wrapping matches end-to-start, which broke later splitText offsets.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add a case-sensitive toggle left of whole-word in Find.

Native findAllAsync has no match-case option, so case-sensitive (alone or with whole-word) uses the same mark-based highlighter.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-08 18:44:54 +02:00
..
outline_match_case_black_24.png Add whole-word toggle to Find in page (#100) 2026-09-08 18:44:54 +02:00
outline_match_case_dark_24.png Add whole-word toggle to Find in page (#100) 2026-09-08 18:44:54 +02:00
outline_match_word_black_24.png Add whole-word toggle to Find in page (#100) 2026-09-08 18:44:54 +02:00
outline_match_word_dark_24.png Add whole-word toggle to Find in page (#100) 2026-09-08 18:44:54 +02:00