Changes between Version 1 and Version 2 of Ticket #400, comment 5


Ignore:
Timestamp:
09/26/16 15:51:21 (2 years ago)
Author:
mooffie
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #400, comment 5

    v1 v2  
    11We can solve this by adding to the search dialog a "[x] Search over lines" checkbox what would turn off the "`current_chr == '\n'`" check I quoted in comment 4. This would make the text accumulate in one giant string instead of line-by-line (but we should set some limit in case one searches in a 20 terabyte file...). 
    22 
    3 If we detect a newline in the regexp, we'll search-over-lines automatically. But having a checkbox is good for the case one wants to search for things like "`struct {.*?}`", where it's a dot that stands for a newline. 
     3If we detect a newline in the regexp, we'll search-over-lines automatically. But having a checkbox is good for the case one wants to search for things like "`struct \{.*?\}`", where it's a dot that stands for a newline.