Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
ThreadSearch plugin is born !
dje:
Hi Mario, did you try this on Windows ?
--- Quote ---Mario, did you try to play with the "Edit\File encoding" sub menu (at least for editors) ?
You may have a look at the "Settings\Editor" then "General settings" to set default encoding for file open.
--- End quote ---
Dje
mariocup:
Hi dje,
I use the same settings in Code::Blocks under windows and linux. I have selected Edit\File encoding UTF-8 for the file and UTF-8 for file open in Settings\Editor.
The find in files show the correct content under linux, but not under windows, because the system default encoding under linux is UTF-8 and under windows ISO-8859-1.
Just try to wirte a text under windows with the content like:
Dies ist ein üä Test.
and save it with UTF-8 character encoding. Now open the file with codeblocks and search for "ist" with find in files.
Bye
Mario
dje:
For me it works.
Did you apply UTF-8 as default encoding as suggested in
--- Quote ---You may have a look at the "Settings\Editor" then "General settings" to set default encoding for file open.
--- End quote ---
or as on the picture Encoding.gif ?
Dje
[attachment deleted by admin]
Pecan:
It took me two hours to figure out that as long as Jerome is spelled with the little backward quote and the little "house top", the ususal CB Find-in-files will not work under linux.
I tried utf-8 and a bunch of 8859 setting and nothing worked until I change "J`er^ome" to "Jerome" under windows, then copied the files back to Linux.
Anybody got any idea why this happens?
Pecan:
I have a fundamental, maybe stupid, question.
ThreadSearch does the searches using a hidden cbStyledTextCtrl.
Threads are not allowed to do GUI calls without carefull critical sections.
Even though the cbSTC is hidden, aren't GUI calls being made from this background thread?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version