code-google-com / texmaker

Automatically exported from code.google.com/p/texmaker
0 stars 0 forks source link

Ignore line break in search #1400

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If a search string is spread across two lines with just a line-break inbetween 
it will not be found. Due to version control and possibility to edit with other 
editors, some users, me included, prefer to break the latex source code with 
some fixed width, f.ex. 80 characters. In that scenario searching for a string 
in a document becomes cumbersome in the source code. 

Given the following example text: 

    Lorem ipsum dolor sit amet, consectetur adipisicing [Linebreak]
    elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. [Linebreak]

Searching for "amet, consectetur" will give results, while "adipisicing elit" 
will not return results. 

I would propose to add an option that you could make the search more "sloppy" 
interpreting the linebreak as normal whitespace. 

Original issue reported on code.google.com by jochen.m...@gmail.com on 30 Oct 2014 at 7:21