Commit Graph

32 Commits

Author SHA1 Message Date
Martin
6793da0620 SynEdit: fix crash/hang (endless loop) in SearchReplace. Advance 1 char, if regex returns an zero-len match. Issue #39999 2022-11-22 15:44:40 +01:00
juha
b53ad7ceed Components: Reduce calls to UpperCase() and LowerCase(). Improves performance.
git-svn-id: trunk@64506 -
2021-02-08 19:09:30 +00:00
martin
d69361c79d SynEdit, SynSearch: workaround in case a none SynEdit TStrings is passed in. Issue #0029520
git-svn-id: trunk@58527 -
2018-07-15 01:07:18 +00:00
juha
53ee66450d LazUtils: Move exception and stack trace stuff to new LazTracer. Move function ConvertLineEndings to LazUtilities.
git-svn-id: trunk@58255 -
2018-06-14 09:05:50 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
juha
79436e5633 SynEdit: Remove SynRegExpr and use the identical RegExpr from FCL.
git-svn-id: trunk@53751 -
2016-12-21 22:35:05 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
martin
e8cc11e5cf SynEdit: search replace: Optimizations
git-svn-id: trunk@47507 -
2015-01-24 17:36:11 +00:00
martin
928215038f SynEdit: Refactored search replace / Combined many small if blocks (regex) into one big / moved calculation for first iteration out of the loop (FirstLine)
git-svn-id: trunk@47506 -
2015-01-24 17:13:16 +00:00
martin
ea99a9bc11 SynEdit: Fixed search replace with newline (Issue #0026227) / Fixed incorrect caret x after replace
git-svn-id: trunk@47504 -
2015-01-24 16:42:27 +00:00
martin
ade191f786 SynEdit search: Fix searching multi-line text. Found text could have longer lines (Pattern expected line-end), if start matched.
git-svn-id: trunk@39845 -
2013-01-14 01:49:07 +00:00
martin
db1bedfb1f SynEdit: Fixed case-insensitive search/replace regex. Issue #0023078
git-svn-id: trunk@39372 -
2012-11-25 19:45:44 +00:00
martin
e0b9cef954 SynEdit: Clean up lots of IFDEF. Patch by zaher dirkey. Issue #0022186
git-svn-id: trunk@37782 -
2012-06-25 22:49:31 +00:00
martin
1c2e894162 Fix issue with synedit search if more than one instance exists
git-svn-id: trunk@34772 -
2012-01-18 12:39:07 +00:00
sekelsenmat
956f7e0bab Implements case insensitive search for SynEdit - From bug #18842: [Patch] Find Dialog with UTF8 - case sensitive
git-svn-id: trunk@33031 -
2011-10-22 19:27:30 +00:00
martin
f1f7320094 SynEdit search: MultiLine-none-pattern search did crash or skip results (compilation for linux)
git-svn-id: trunk@18066 -
2009-01-02 20:42:02 +00:00
martin
ecbce3c5f9 SynEdit search: MultiLine-none-pattern search did crash or skip results
git-svn-id: trunk@18065 -
2009-01-02 20:12:35 +00:00
martin
94d0fe9be2 SynEdit:Fix crash in multiline pattern replace (Bug #12714)
git-svn-id: trunk@17590 -
2008-11-25 23:08:46 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
6ed274ffa2 synedit: search now uses IdentChars of highlighter, bug #10752
git-svn-id: trunk@15847 -
2008-07-23 12:31:31 +00:00
mattias
7814e569d4 synedit: fixed searching backwards and end of range contains half pattern, bug #11430
git-svn-id: trunk@15356 -
2008-06-07 16:08:18 +00:00
mattias
9e2483124a IDE: implemented find next/previous word occurrence
git-svn-id: trunk@9916 -
2006-09-16 14:02:14 +00:00
mattias
ca2b538cf7 IDE Help for FPC keywords activated, IDE find now supports multi lines, regexpr case insensitive, regexpr whole words
git-svn-id: trunk@9766 -
2006-08-29 17:35:20 +00:00
mattias
58e1fe7109 fixed synedit multi replace with overlapping results
git-svn-id: trunk@9341 -
2006-05-23 17:41:59 +00:00
mattias
5e5c1122a7 renamed LCLLinux to LCLIntf
git-svn-id: trunk@4637 -
2003-09-18 09:21:03 +00:00
mattias
724bb21543 fixed regular expression replace
git-svn-id: trunk@3794 -
2003-01-07 15:38:30 +00:00
mattias
aa746f870e now using SynRegExpr for Find-Replace in IDE
git-svn-id: trunk@3775 -
2003-01-01 17:45:43 +00:00
lazarus
a006452636 MG: fixes for 1.1
git-svn-id: trunk@1039 -
2002-02-09 01:47:42 +00:00
lazarus
c9e180acac TPanel implemented.
Basic graphic primitives split into GraphType package, so that we can
reference it from interface (GTK, Win32) units.
New Frame3d canvas method that uses native (themed) drawing (GTK only).
New overloaded Canvas.TextRect method.
LCLLinux and Graphics was split, so a bunch of files had to be modified.

git-svn-id: trunk@653 -
2002-02-03 00:24:02 +00:00
lazarus
1f8bda0727 MG: regular expressions for search
git-svn-id: trunk@327 -
2001-08-06 08:00:44 +00:00
lazarus
934f6aff7c added project support, codetools
git-svn-id: trunk@210 -
2001-03-03 11:06:18 +00:00
lazarus
da5aa5f57d Added the synedit files
Shane

git-svn-id: trunk@140 -
2001-01-26 19:34:10 +00:00