Ticket #104 (new enhancement)

Opened 6 years ago

Last modified 3 years ago

Option to ignore tags when searching

Reported by: nesu-kun Owned by:
Priority: normal Milestone:
Component: Subtitle Version:
Severity: minor Keywords: acknowledged
Cc: Platform:
Sub Component: Subtitle - Editing

Description

just a checkbox in search dialog to ignore the characters between {} and N
h while searching.

Change History

comment:1 Changed 6 years ago by ArchMageZeratuL

  • Keywords acknowledged added

Not sure if this would be easy to implement...

comment:2 Changed 6 years ago by nielsm

I think it can be done rather easily, assuming the searching code is implemented as I assume it is.

When looping through the lines, instead of just getting the raw text of each line, create a tag-stripped version of the line and search in that instead. (The loop starting at automation.cpp:1321 strips tags.)

comment:3 Changed 6 years ago by Ereza

That would be nice for people that make comments in the script within {}. I also make some comments this way, so I think it would be nice.

comment:4 Changed 5 years ago by nesu-kun

bump for this feature too!

comment:5 Changed 5 years ago by ArchMageZeratuL

Not easy to implement...

Note: See TracTickets for help on using tickets.