Ticket #1495 (closed task: duplicate)

Opened 9 years ago

Last modified 9 years ago

Add 'Whole words only' globally

Reported by: slavazanko Owned by:
Priority: major Milestone:
Component: mc-core Version:
Keywords: search Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

Need to add 'Whole words only' option into:

  • search dialog of editor/viewer;
  • replace dialog of editor
  • file search dialog

Attachments

mc-4.7.0-pre1.search.patch (1.7 KB) - added by dborca 9 years ago.
mc-4.7.0-pre1.whole_words.patch (11.1 KB) - added by dborca 9 years ago.

Change History

comment:1 follow-up: ↓ 2 Changed 9 years ago by slavazanko

Related ticket: #1487

Changed 9 years ago by dborca

comment:2 in reply to: ↑ 1 Changed 9 years ago by dborca

Replying to slavazanko:

Related ticket: #1487

Yes, yes, add it! :)

Changed 9 years ago by dborca

comment:3 Changed 9 years ago by dborca

Note that mc-4.7.0-pre1.whole_words.patch also contains a fix for a bug where
search_end - search_start > view->search->original_len
may work incorrectly due to signed/unsigned mismatch (wrap-around may still be a problem, though)

The same holds for Editor, but I'm too lazy to create a patch. Backwards search is broken enough to deserve a separate patch. :D

comment:4 Changed 9 years ago by angel_il

  • Status changed from new to closed
  • Resolution set to duplicate

see #1487

comment:5 Changed 9 years ago by angel_il

  • Milestone changed from 4.7.0-pre3 to 4.7.0-pre2

comment:6 Changed 9 years ago by slavazanko

  • Version 4.7.0-pre1 deleted
  • Milestone 4.7.0-pre2 deleted
Note: See TracTickets for help on using tickets.