Commit Graph

1444 Commits

Author SHA1 Message Date
martin
ff0b2160a5 SynEdit: Test for Beautifier
git-svn-id: trunk@22379 -
2009-11-02 02:06:07 +00:00
martin
0c7bfacc34 SynEdit: Test for Beautifier
git-svn-id: trunk@22378 -
2009-11-02 01:36:49 +00:00
martin
65aa0e0875 SynEdit, IDE: Fixes and Refactor for SynBeautifier (includes updates for codetools auto-indent)
git-svn-id: trunk@22377 -
2009-11-02 01:36:04 +00:00
martin
0a9b5e5202 SynEdit: Added tests for Beautifier, indent
git-svn-id: trunk@22366 -
2009-11-01 04:16:22 +00:00
martin
e81f70915d SynEdit: right click fold-gutter crashes, if no fold-highlighter is avail. Issue #14855
git-svn-id: trunk@22362 -
2009-10-31 17:26:55 +00:00
mattias
f35f9bc932 synedit: fixed typo
git-svn-id: trunk@22355 -
2009-10-31 11:35:26 +00:00
mattias
46d7c68244 synedit: TSynEditLines: added TextChangeStamp
git-svn-id: trunk@22321 -
2009-10-28 13:56:11 +00:00
mattias
32bacb6d1c synedit: TSynEditStrings.SetTextStr using faster PChar instead of string
git-svn-id: trunk@22319 -
2009-10-28 13:18:45 +00:00
mattias
34327b6850 synedit: IncreaseChangeStamp on Text change
git-svn-id: trunk@22318 -
2009-10-28 13:02:49 +00:00
paul
01f55ab286 synedit: highlight 'unimplemented', 'experimental', 'sealed', 'final' words
git-svn-id: trunk@22205 -
2009-10-17 13:35:46 +00:00
martin
441c5bda34 SynEdit, Syncro/Template Edit: partly improve detection of edited cell (see note on issue #14813 for details)
git-svn-id: trunk@22198 -
2009-10-17 01:26:44 +00:00
martin
d7dd7cd328 SynEdit: Fixed Quick-Paste-selection (usually middle mouse button)
git-svn-id: trunk@22197 -
2009-10-17 00:47:33 +00:00
martin
709c5a4bfe SynEdit, Syncro/Template Edit: Improve interaction with codetool changes and identifier completion, issue #14813 and issue #14773
git-svn-id: trunk@22195 -
2009-10-15 16:30:41 +00:00
martin
4b9ec25245 SynEdit, pascal-highlighter: improved handling of binary/octal numbers in #00 char notation
git-svn-id: trunk@22181 -
2009-10-14 22:24:49 +00:00
martin
2f5b7af7e3 SynEdit, pascal-highlighter: added handling of binary/octal numbers (patch by dmitry boyarintsev)
git-svn-id: trunk@22180 -
2009-10-14 22:06:25 +00:00
mattias
07649baa56 IDE: auto indent: debugging
git-svn-id: trunk@22114 -
2009-10-12 14:42:13 +00:00
mattias
482026e4c2 synedit: fixed typo
git-svn-id: trunk@22105 -
2009-10-12 11:30:57 +00:00
paul
ba29fdc2b5 regenerate po files
git-svn-id: trunk@21977 -
2009-10-02 06:59:31 +00:00
mattias
76ac5c262e translations: german: from Swen Heinig and Martin
git-svn-id: trunk@21906 -
2009-09-28 14:48:25 +00:00
martin
d033ed3dfc SynEdit / IDE: Keep cursor at position, if codetools makes changes to toher location (like updating component names) issue #12344
git-svn-id: trunk@21829 -
2009-09-22 23:13:04 +00:00
mattias
4aa391b617 translations: german: updates from Swen Heinig
git-svn-id: trunk@21692 -
2009-09-13 22:08:33 +00:00
martin
50b14ade3c SynEdit: Prevent auto-unindent (on backspace) if a selection exists. Selection must be deleted instead.
git-svn-id: trunk@21681 -
2009-09-13 10:25:47 +00:00
martin
793e654d38 SynEdit, added 2nd "home" command: first word in line / issue #14440
git-svn-id: trunk@21592 -
2009-09-06 15:09:35 +00:00
martin
194d83f7a8 SynEdit: implemented Caret skips tabs
git-svn-id: trunk@21587 -
2009-09-05 13:30:13 +00:00
paul
56d6fef49d synedit: revert some changes made in r21507 #8018937c08 since they break compilation
git-svn-id: trunk@21508 -
2009-09-01 01:17:52 +00:00
mattias
8018937c08 synedit: fixed file encoding
git-svn-id: trunk@21507 -
2009-08-31 22:11:30 +00:00
martin
f64939fdee SynEdit, Trim spaces: Callback was triggered before trimmed spaces were added to cache. Leading to incorrect adjustment of block-selections (only happened with move Persistent-Block (ctrl-k,v) if last word on line was selected)
git-svn-id: trunk@21482 -
2009-08-30 13:12:32 +00:00
martin
a258e83b1b SynEdit, Persistent-Block: fix ctrl-k,v (move block)
git-svn-id: trunk@21481 -
2009-08-30 13:07:17 +00:00
marc
8e83c9c28e * Updated Lithuanian translation by Valdas Jankunas
git-svn-id: trunk@21469 -
2009-08-27 23:33:00 +00:00
paul
8450ced843 languages: Polish translation update by Tomasz Wieckowski (issue #0014406)
git-svn-id: trunk@21437 -
2009-08-24 15:16:28 +00:00
mattias
287d754ed2 translations: german: updates from Swen
git-svn-id: trunk@21411 -
2009-08-22 22:11:42 +00:00
mattias
f1d4a6b323 synedit: added checks if handle is allocated
git-svn-id: trunk@21400 -
2009-08-22 19:42:50 +00:00
mattias
e0c57af916 undo
git-svn-id: trunk@21399 -
2009-08-22 19:40:53 +00:00
mattias
b03dbf338e synedit: added checks if handle is allocated
git-svn-id: trunk@21398 -
2009-08-22 19:33:35 +00:00
mattias
ef3a49fd63 translations: german: updates from Joerg Braun and Swen Heinig
git-svn-id: trunk@21395 -
2009-08-22 16:39:57 +00:00
paul
780307386f languages: Updated Portuguese translations by Marcelo B Paula (issue #0014404)
git-svn-id: trunk@21385 -
2009-08-21 15:24:37 +00:00
martin
1e7e1cca97 SynEdit: SyncronEdit: fixed problem with extended mouse-settings and breakpoints
git-svn-id: trunk@21381 -
2009-08-21 12:41:54 +00:00
paul
ff015e5a07 synedit: update Portuguese translation from Marcelo B Paula (part of issue #0014245)
git-svn-id: trunk@21351 -
2009-08-20 16:24:10 +00:00
martin
9a8706aedd SynEdit, pascal highlighter: added mwpascal as modifier. Started to limit highlighting of modifiers to code following a procedure declaration. / issue #14392
git-svn-id: trunk@21350 -
2009-08-20 16:11:32 +00:00
martin
28040aadfd MouseActions: Fixed spurious crash when adding actions, due to incorrect locking of conflict checking)
git-svn-id: trunk@21334 -
2009-08-19 21:27:14 +00:00
martin
72074fd87f SynEdit: SyncronEdit: idle calls only if edit has not been requested already
git-svn-id: trunk@21331 -
2009-08-19 19:57:20 +00:00
martin
25d1bbf7ec SynEdit: SyncronEdit: made ProcessMessages interval time based instead of words-processed count. Better responsiveness on not so fast pc. Added idle calls
git-svn-id: trunk@21330 -
2009-08-19 19:42:22 +00:00
martin
e00770cf12 SynEdit: The clipboard may fail to store SynEdits Metadata. In most cases this will make no difference, since the text has been copied. No longer throwing an exception by default
git-svn-id: trunk@21238 -
2009-08-15 21:48:19 +00:00
martin
74e8a2eefb EditorOptions: added simplified Mouse settings
git-svn-id: trunk@21232 -
2009-08-15 20:05:01 +00:00
martin
867297cbb7 SynEdit: Fixed Mouse selects column with alt key
git-svn-id: trunk@21227 -
2009-08-14 22:33:41 +00:00
martin
bf5bb6aec3 EditorOptions, Mouse config, added safety check to loading
git-svn-id: trunk@21226 -
2009-08-14 19:35:22 +00:00
martin
86a763c003 Syncron-Edit: Improved cell selection, go to next different cell via tab / Handle Mouse correctly, if Mouse up and other actions are assigned to gutter
git-svn-id: trunk@21211 -
2009-08-12 23:11:23 +00:00
marc
cc05f18a30 * Updated Russian translation by Maxim Ganetsky
git-svn-id: trunk@21210 -
2009-08-12 22:08:40 +00:00
marc
6753f1791c * updated .po files
git-svn-id: trunk@21208 -
2009-08-12 22:00:46 +00:00
mattias
f0811dac55 synedit: workaround for broken compilation in 21184
git-svn-id: trunk@21186 -
2009-08-12 11:33:06 +00:00
martin
389bc62b33 Synedit: Fixed missing invalidation, after folding "/fold" default region
git-svn-id: trunk@21180 -
2009-08-11 23:54:05 +00:00
martin
56790bc2d2 SynEdit: Fixed Selection became persistent after drag operation. introduced in rev 21163 #742c44e3d0
git-svn-id: trunk@21165 -
2009-08-10 20:37:36 +00:00
martin
f4fe7d4be2 SynEdit, Mouse-Actions: Fixed an assertion error, when changing actions, issue #14309
git-svn-id: trunk@21164 -
2009-08-10 20:00:47 +00:00
martin
742c44e3d0 SynEdit: Improved Mouse Actions. If mouse is selecting or dragging it will ignore other mouse-up configurations
git-svn-id: trunk@21163 -
2009-08-10 19:43:49 +00:00
martin
f197ebcead SynEdit: fixed MouseClick. if the click was in the text area, but only by one pixel, it was executed as gutter click (the cursor still shows as crIBeam)
git-svn-id: trunk@21162 -
2009-08-10 18:12:37 +00:00
martin
52cd9eb698 EditorOptions: added color for Gutter-Separator / Hide unsupported Color/Style Features
git-svn-id: trunk@21155 -
2009-08-10 16:07:32 +00:00
martin
60e9b91231 SynEdit: added some conditional debugging
git-svn-id: trunk@21140 -
2009-08-08 22:06:34 +00:00
martin
c6ca3e5e7b SynEdit, Completion: Fixes for the component (nothing changes for IDE). Only the first char was looked-up, because keystrokes where recorded twice (utf8, and plain)
git-svn-id: trunk@21101 -
2009-08-05 00:12:11 +00:00
martin
fa96c149b9 SynEdit, Completion: Fixes for the component (nothing changes for IDE). Close the form after successful completion / replaced old (broken) fansi with CaseSensitive.
git-svn-id: trunk@21100 -
2009-08-04 23:34:19 +00:00
martin
666e29fbde SynEdit, added option to hide cursor, while editing/keyboard
git-svn-id: trunk@21091 -
2009-08-03 15:17:58 +00:00
martin
ada6f9b0a0 SynEdit: Added some tests
git-svn-id: trunk@21066 -
2009-08-01 23:12:06 +00:00
martin
68d8d80a23 SynEdit: Fixed some utf8 issues in smColumn mode blocks
git-svn-id: trunk@21065 -
2009-08-01 23:11:33 +00:00
martin
41133ceb24 SynEdit: Fixed a problem when replacing a smColumn mode block. New text would go in wrong location
git-svn-id: trunk@21064 -
2009-08-01 21:35:17 +00:00
martin
5d8a45e372 SynEdit: Added some tests
git-svn-id: trunk@21063 -
2009-08-01 19:10:21 +00:00
martin
ce18ca1f8d SynEdit: fixed an issue with deleting if past-Eol, padding was sometimes omitted (fixed bug introduced in 21060)
git-svn-id: trunk@21061 -
2009-08-01 18:12:10 +00:00
martin
c008588230 SynEdit: fixed an issue with deleting if past-Eol, padding was sometimes omitted
git-svn-id: trunk@21060 -
2009-08-01 18:01:17 +00:00
martin
3985057ea0 SynEdit: fixed an issue with undo if eoScrollPastEOL and NO-TrimmSpace is set. Padding spaces for text inserted past eol was not undone
git-svn-id: trunk@21058 -
2009-08-01 16:02:05 +00:00
martin
cde1f77fe0 SynEdit: Made Highlighter-Attribute names resource-strings
git-svn-id: trunk@21053 -
2009-08-01 10:48:48 +00:00
martin
0146750d03 SynEdit: Updated tests
git-svn-id: trunk@21039 -
2009-07-31 21:36:50 +00:00
martin
430990d9f1 SynEdit: Fixed smNormal Block-Selectional for Past-EOL. If only one line was selected the Area past EOL was ignored
git-svn-id: trunk@21038 -
2009-07-31 21:35:53 +00:00
martin
e17a71f967 SynEdit: set smNormal in ActiveMode=SelectAll, so it works independent of the DefaultMode
git-svn-id: trunk@21037 -
2009-07-31 21:23:03 +00:00
martin
cbddc640dd SynEdit: Added some tests
git-svn-id: trunk@21036 -
2009-07-31 20:58:57 +00:00
martin
11cefe2883 SynEdit: fixed utf-8/tab issue for column mode selections
git-svn-id: trunk@21035 -
2009-07-31 20:58:14 +00:00
jesus
4a22e85af6 Updated Portuguese translation from Marcelo B de Paula
git-svn-id: trunk@21034 -
2009-07-31 20:45:40 +00:00
jesus
fb4778a146 IDE, fix for saving localized names in editor options for additional highlight attributes names, issue #14231
git-svn-id: trunk@21032 -
2009-07-31 20:32:22 +00:00
martin
c37ba03138 Synedit: Select paragraph did ignore the very last line in file / cleanup
git-svn-id: trunk@21028 -
2009-07-31 17:47:01 +00:00
martin
dbfbbff04f SynEdit: Added some tests
git-svn-id: trunk@21025 -
2009-07-31 14:43:51 +00:00
martin
505244a52c SynEdit: Fixed eoNoSelection
git-svn-id: trunk@21018 -
2009-07-31 12:19:24 +00:00
martin
22f11e3eaa Synedit: Some more fixes for none persistent Blocks
git-svn-id: trunk@21015 -
2009-07-30 13:57:26 +00:00
marc
9e31b030dc * Improved Russian translation by Maxim Ganetsky
git-svn-id: trunk@21013 -
2009-07-29 23:47:40 +00:00
marc
6b957af566 * Updated po files
git-svn-id: trunk@21012 -
2009-07-29 23:43:57 +00:00
marc
b60d4f0c55 * Improved localisation by Maxim Ganetsky
git-svn-id: trunk@21011 -
2009-07-29 23:28:42 +00:00
martin
ea95a7e23c SynEdit small optimization (unnecessary call to shiftstate)
git-svn-id: trunk@21010 -
2009-07-29 19:14:32 +00:00
mattias
a5da38b431 clean up
git-svn-id: trunk@21009 -
2009-07-29 16:57:27 +00:00
martin
29221dae03 SynEdit: Added a protection against scrolling issues, if key repeat rate is too fast. related to issue #14234
git-svn-id: trunk@21008 -
2009-07-29 15:22:56 +00:00
martin
1948d12c9d SynEdit: Fixed some scrolling issues introduced in rev 20975 #ee46b0680f
git-svn-id: trunk@21002 -
2009-07-29 10:12:59 +00:00
martin
568a468080 Synedit: Syncro/Template edit, detect and de-activate if undo goes before activation point (forgot a file)
git-svn-id: trunk@20997 -
2009-07-28 20:39:28 +00:00
martin
9878a8ecc1 Synedit: Syncro/Template edit, detect and de-activate if undo goes before activation point
git-svn-id: trunk@20996 -
2009-07-28 20:30:25 +00:00
martin
a74da44672 SynEdit: implemented option for not overwriting none-persistent blocks
git-svn-id: trunk@20994 -
2009-07-28 15:40:48 +00:00
martin
c3b7ab19d6 SynEdit: Fix non persistent block must be undone on action, even if caret did not move. For SourceEditor/IDE commands.
git-svn-id: trunk@20989 -
2009-07-28 12:59:16 +00:00
martin
df417f3254 SynEdit: Fix non persistent block must be undone on action, even if caret did not move. Issue #14213
git-svn-id: trunk@20981 -
2009-07-27 20:12:02 +00:00
jesus
6c63ded97e Changed remaining translation files encoding to UTF-8
git-svn-id: trunk@20980 -
2009-07-27 19:26:45 +00:00
martin
27a85b3e3b SynEdit, fixed clearing non persistent block, if caret moves to other end of block
git-svn-id: trunk@20979 -
2009-07-27 16:42:25 +00:00
martin
cd7b675c96 SynEdit,SyncroEdit: Fixed gutter click,, if block has no multiply words
git-svn-id: trunk@20976 -
2009-07-27 15:30:29 +00:00
martin
ee46b0680f SynEdit: Fixed an invalidation issue when scrolling (current line highlight could get lost), also improves issue #11715
git-svn-id: trunk@20975 -
2009-07-27 15:12:13 +00:00
martin
e480675e27 SynEdit: persistent block: QH, QB work if block is hidden / notify is called if block gets hidden
git-svn-id: trunk@20974 -
2009-07-27 12:24:04 +00:00
martin
592732cea4 SynEdit: added persistent block
git-svn-id: trunk@20965 -
2009-07-26 23:06:26 +00:00
martin
cb577dee7e SynEdit: Refactored Block-Selection / Fix paste text beyond end of line. issue #14199
git-svn-id: trunk@20964 -
2009-07-26 12:49:53 +00:00
martin
fccbd52e32 SynEdit: Refactored Block-Selection / Fix Drag-Drop Edit
git-svn-id: trunk@20962 -
2009-07-26 03:32:37 +00:00
martin
5dcb73cd82 SynEdit: Fix Caret pos on word,block,paragraph selection by mouse / Refactor paste / Cleanup
git-svn-id: trunk@20961 -
2009-07-26 01:35:52 +00:00
martin
aa019e507e SynEdit: Refactored Block-Selection / Cleanup
git-svn-id: trunk@20960 -
2009-07-26 00:57:04 +00:00
martin
342c6a6374 SynEdit: Refactored Block-Selection
git-svn-id: trunk@20959 -
2009-07-25 23:54:16 +00:00
martin
fae2c9912f SynEdit: Small optimization to the undo system
git-svn-id: trunk@20958 -
2009-07-25 23:52:08 +00:00
martin
b38412dbee SynEdit,SyncroEdit: Fixed CPU usage (editor redraw) while inactive. Issue #14191 (fix scrolling)
git-svn-id: trunk@20957 -
2009-07-25 18:51:03 +00:00
martin
4823714ef2 cleanup
git-svn-id: trunk@20955 -
2009-07-25 18:26:12 +00:00
martin
7c02052279 SynEdit: Refactored Block-Selection / Block-(Un)Indent
git-svn-id: trunk@20954 -
2009-07-25 17:48:16 +00:00
martin
f865263b5a SynEdit: fix caret after certain block.SetText operations. Issue #14195
git-svn-id: trunk@20953 -
2009-07-25 16:54:51 +00:00
martin
2df875d33f SynEdit,SyncroEdit: Fixed CPU usage (editor redraw) while inactive. Issue #14191 (missed one line)
git-svn-id: trunk@20951 -
2009-07-25 16:13:37 +00:00
martin
f41ea13a14 SynEdit,SyncroEdit: Fixed CPU usage (editor redraw) while inactive. Issue #14191
git-svn-id: trunk@20949 -
2009-07-25 16:08:53 +00:00
martin
ea03b8aa2d SynEdit,SyncroEdit: Fixed CPU usage 9editor redraw) while inactive. Issue #14191
git-svn-id: trunk@20945 -
2009-07-25 15:19:03 +00:00
mattias
fa67cda580 clean up
git-svn-id: trunk@20943 -
2009-07-25 15:05:44 +00:00
martin
f32f484ae9 SynEdit: Refactored SynSelection
git-svn-id: trunk@20942 -
2009-07-25 01:02:55 +00:00
martin
8e986531c0 SynEdit: Refactored SynSelection
git-svn-id: trunk@20941 -
2009-07-24 23:37:24 +00:00
martin
48efa0db01 SynEdit: Cleaned up, some old properties from SynSelection
git-svn-id: trunk@20940 -
2009-07-24 23:00:47 +00:00
martin
02cec874b0 SynEdit, small optimization for same-word-markup (dont, try to find block, if select-all)
git-svn-id: trunk@20939 -
2009-07-24 21:35:14 +00:00
martin
bceb570e54 SynEdit: Fixed an issue with undo trim spaces while locked (only relevant to syncron edit with multi line fields)
git-svn-id: trunk@20937 -
2009-07-24 19:44:21 +00:00
martin
b83b08576a SynEdit: Added some debug helper
git-svn-id: trunk@20936 -
2009-07-24 17:45:43 +00:00
martin
8d062d9fa4 SynEdit: Workaround for GTK/GTK2 issue, preventing block-selection, after hint window
git-svn-id: trunk@20935 -
2009-07-24 15:17:09 +00:00
jesus
e74bf8d1f2 Update of Portuguese translation from Marcelo Borges de Paula, issue #14173
git-svn-id: trunk@20932 -
2009-07-23 18:37:34 +00:00
martin
c83d380697 SynEdit: Syncron-edit mode, fixed undo/redo of last char in a cell
git-svn-id: trunk@20928 -
2009-07-22 22:44:30 +00:00
martin
4c64826e61 SynEdit: Syncron-edit mode, fixed multi-line edit / indent on new-line
git-svn-id: trunk@20927 -
2009-07-22 22:34:29 +00:00
martin
2112f6e3fa SynEdit: Syncron-edit mode, fixed caret position after line break
git-svn-id: trunk@20926 -
2009-07-22 20:23:44 +00:00
martin
2be288911d SynEdit: Syncron-edit mode, ignore column-mode selections
git-svn-id: trunk@20924 -
2009-07-22 19:34:36 +00:00
martin
0a5042a856 SynEdit: Added Syncron-edit mode
git-svn-id: trunk@20917 -
2009-07-21 22:44:09 +00:00
martin
8523cdef61 SynEdit/IDE: Added RTTI info for KeyStrokes.Command. Needed to save MouseAction
git-svn-id: trunk@20879 -
2009-07-17 16:59:49 +00:00
martin
42e7f62664 SynEdit, Highlighter: "type x=interface" was not recognized as fold-able structure / "default" keyword for properties in such structures where not highlighted; issue #14153
git-svn-id: trunk@20873 -
2009-07-16 20:17:32 +00:00
martin
6defc6aeaa SynEdit: Refactor UpdateCursor
git-svn-id: trunk@20866 -
2009-07-15 15:49:30 +00:00
paul
167247535e synedit: don't change cursor from crDefault to crIBeam when moving over gutter (Martin, please review)
git-svn-id: trunk@20850 -
2009-07-13 09:27:32 +00:00
marc
35383c2aac * Removed acidently commited testcode of r20844 #de0fcac323
git-svn-id: trunk@20845 -
2009-07-12 23:48:56 +00:00
marc
de0fcac323 * Updated Russion translation by Maxim Ganetsky
git-svn-id: trunk@20844 -
2009-07-12 22:56:47 +00:00
martin
09a9fc6662 SynEdit: Fixed regression from rev 20806 #7cb446bf36, the behaviour of ScrollPastEndOfLINE was partly inverse. Bug #14117
git-svn-id: trunk@20813 -
2009-07-08 23:46:06 +00:00
martin
56ba182492 SynEdit: switching OFF ScrollPastEndofFILE would not reset top-line, if editor was scrolled past eof
git-svn-id: trunk@20812 -
2009-07-08 23:44:43 +00:00
martin
418b243b48 SynEdit: Fixed Fontheight for Completion/form/list; issue #14114
git-svn-id: trunk@20811 -
2009-07-08 14:51:10 +00:00
martin
7cb446bf36 SynEdit: Fix problem with lines longer 1024. Block selection, and scrolling caret movement could fail in certain cases. issue #14111
git-svn-id: trunk@20806 -
2009-07-07 12:25:52 +00:00
martin
d552487a0f SynEdit: Refactored/Centralized detection of words/wordbreaks in text
git-svn-id: trunk@20800 -
2009-07-06 13:42:13 +00:00
martin
ce0d987c5f SynEdit: Added code-template mode: Edit params in cells / Renamed Unit
git-svn-id: trunk@20736 -
2009-06-24 22:50:35 +00:00
martin
307d3935d1 SynEdit: Added code-template mode: Edit params in cells / Make it compile with 2.3.1 too
git-svn-id: trunk@20733 -
2009-06-24 19:39:31 +00:00
martin
d6b3aff8c9 SynEdit: Added code-template mode: Edit params in cells
git-svn-id: trunk@20732 -
2009-06-24 19:33:05 +00:00
martin
b08e9ca53c SynEdit: Fix for auto unindent (new indent detection did not skip empty lines)
git-svn-id: trunk@20724 -
2009-06-23 20:03:26 +00:00
martin
6065a48b65 SynEdit: Clean-up
git-svn-id: trunk@20722 -
2009-06-23 14:18:34 +00:00
martin
1a7372fe49 SynEdit: clean-up
git-svn-id: trunk@20701 -
2009-06-22 01:44:21 +00:00
martin
063dd74efc SynEdit, beautifier: fixed in indent, in cases where newline was inserted at pos 1
git-svn-id: trunk@20700 -
2009-06-22 01:43:25 +00:00
martin
95311a5cf3 SynEdit: fixed 2 compiler warnings
git-svn-id: trunk@20698 -
2009-06-21 19:34:38 +00:00
martin
19eae1cce0 SynEdit: Improved tracking of bookmarks, when lines are inserted/removed (the 2nd half of files)
git-svn-id: trunk@20697 -
2009-06-21 19:32:29 +00:00
martin
c1831c17b0 SynEdit: Improved tracking of bookmarks, when lines are inserted/removed
git-svn-id: trunk@20696 -
2009-06-21 19:30:24 +00:00
martin
6c6c428bf4 SynEdit: Started reworking plug-in
git-svn-id: trunk@20694 -
2009-06-21 18:16:09 +00:00
martin
d947159118 SynEdit: Fixed replacing selection in mode smLine. (new text was inserted at wrong pos)
git-svn-id: trunk@20693 -
2009-06-21 14:21:43 +00:00
martin
f12004fd9b SynEdit, Beautifier: fixed indent issue with ecInsertLine (added indent to wrong line)
git-svn-id: trunk@20692 -
2009-06-21 14:11:00 +00:00
martin
faba3df333 SynEdit: Fixed paste after auto indent (broke in revision 20682 #db631b7877)
git-svn-id: trunk@20685 -
2009-06-21 02:05:49 +00:00
martin
29b5dce82a SynEdit, removed a circular unit ref
git-svn-id: trunk@20684 -
2009-06-20 20:25:21 +00:00
martin
db631b7877 SynEdit, removed a circular unit ref
git-svn-id: trunk@20682 -
2009-06-20 18:48:35 +00:00
martin
8208c9846d SynEdit, Beautifier: simplified event for external indent
git-svn-id: trunk@20674 -
2009-06-19 20:57:11 +00:00
martin
87e4fec446 SynEdit, Beautifier: Refactored, added better event for external indent
git-svn-id: trunk@20672 -
2009-06-19 15:13:17 +00:00
martin
e3b36fe253 SynEdit: fixed display/repaint issue, with text files (no highlighter used)
git-svn-id: trunk@20664 -
2009-06-18 12:17:12 +00:00
martin
d17de8058a SynEdit: Fixed insufficient redraw after unfolding, if fold was at first line of file
git-svn-id: trunk@20662 -
2009-06-18 10:10:48 +00:00
martin
95ebda7220 SynEdit, foldstate-saving: fix crash, sometimes if saving unit with no folds
git-svn-id: trunk@20661 -
2009-06-18 09:52:47 +00:00
martin
faf5069a69 SynEdit: allow saving of fold-state
git-svn-id: trunk@20655 -
2009-06-17 18:13:50 +00:00
martin
57f71f19ca SynEdit: Fixed insufficient redraw after unfolding
git-svn-id: trunk@20643 -
2009-06-16 17:22:20 +00:00
martin
886621c052 SynEdit: Fixed folding in some cases with mixed (ifdef vs begin) and closing keyword on same line, would fold to many lines
git-svn-id: trunk@20642 -
2009-06-16 16:54:53 +00:00
martin
3952cd81b8 SynEdit: Fixed some issues with unfolding to many blocks, when editing
git-svn-id: trunk@20623 -
2009-06-14 00:47:32 +00:00
martin
00e3b0160c SynEdit: Fixed some issues with not redrawing when folded
git-svn-id: trunk@20621 -
2009-06-13 23:51:58 +00:00
martin
2c76006b8f SynEdit, fixed default font heigh for windows
git-svn-id: trunk@20609 -
2009-06-12 18:39:58 +00:00
martin
e81fea3d01 SynEdit: auto fold region on load, fixed for "revert"
git-svn-id: trunk@20608 -
2009-06-12 17:53:33 +00:00
martin
d4702f28d9 SynEdit: Highlighter, limit default as key, only in classes
git-svn-id: trunk@20605 -
2009-06-12 16:06:48 +00:00
martin
a67d6b003c SynEdit: Fix with certain Widths the caret was not displayed at the right side (eol) of SynEdit. Added extra space for block/overwrite caret
git-svn-id: trunk@20598 -
2009-06-12 14:37:05 +00:00
martin
c8704da140 SynEdit, added support for scrollbar auto-show; issue #13964
git-svn-id: trunk@20594 -
2009-06-12 13:53:45 +00:00
martin
8e0e4754ac SynEdit: Disable un-implemented options
git-svn-id: trunk@20591 -
2009-06-12 10:46:51 +00:00
martin
9d97223c5c SynEdit: Added Copy and paste with ability to keep folded text
git-svn-id: trunk@20587 -
2009-06-11 23:00:44 +00:00
martin
6c1a533b21 SynEdit: Fixed occasional skipping of screen updates, if editing within 3 lines beneath a folded block
git-svn-id: trunk@20582 -
2009-06-11 13:25:36 +00:00
vincents
7e3b776ad2 updated po files
git-svn-id: trunk@20577 -
2009-06-10 21:39:10 +00:00
vincents
a4d5695b02 synedit: removed non UTF8 polish translations
git-svn-id: trunk@20576 -
2009-06-10 20:34:40 +00:00
martin
b4b16cb5f0 SynEdit, KeyCommands, added some missing ident/name mappings for RTTI
git-svn-id: trunk@20556 -
2009-06-09 17:29:41 +00:00
martin
2ad1ec03ba SynEdit: added Column mode word wise selection
git-svn-id: trunk@20555 -
2009-06-09 17:18:58 +00:00
martin
63d7661e33 SynEdit, Mouse Actions: Handle Double, Triple and Quad for all buttons, up and down
git-svn-id: trunk@20552 -
2009-06-09 16:15:04 +00:00
martin
ba5c46c5be SynEdit, Mouse Actions: Added Priority
git-svn-id: trunk@20529 -
2009-06-08 23:53:55 +00:00
martin
b1baba1df8 SynEdit, Mouse Actions: Added IDE-Command
git-svn-id: trunk@20528 -
2009-06-08 22:35:47 +00:00
martin
b81b57c1e4 SynEdit, Mouse Actions: Fix issue with conflicting partially loaded mouse actions (load from resources)
Better handling in designer

git-svn-id: trunk@20527 -
2009-06-08 20:48:22 +00:00
martin
6de1371b98 SynEdit: auto fold region on load, if flagged => fixed for %region ; issue #13514
git-svn-id: trunk@20526 -
2009-06-08 18:09:37 +00:00
martin
80a3a5c1cb SynEdit, Ctrl-Mouse-Links: optimized the amount of codetool and repaint calls; issue #12790
git-svn-id: trunk@20525 -
2009-06-08 18:01:29 +00:00
martin
ad46eb8954 SynEdit, Pascal Highlighter. Support strict private, strict protected; issue #13928
git-svn-id: trunk@20524 -
2009-06-08 17:03:27 +00:00
martin
16e227e58a SynEdit: auto fold region on load, if flagged / issue #13514
git-svn-id: trunk@20523 -
2009-06-08 15:27:18 +00:00
martin
7d32d219bc SynEdit: Windows Default font is now "Courier New" (for component usage)
git-svn-id: trunk@20518 -
2009-06-08 12:58:47 +00:00
martin
fe1e5ca093 SynEdit, Search/Replace: implemented \n in replacement string for reg exp, issue #13748
git-svn-id: trunk@20502 -
2009-06-08 00:26:02 +00:00
martin
daea5691fc SynEdit, Search/Replace: implemented \n \u \l \U \L in replacement string for reg exp, issue #13748
git-svn-id: trunk@20501 -
2009-06-08 00:06:26 +00:00
martin
bcedde9431 SynEdit: Clean-up CtrlMouseLink Code
git-svn-id: trunk@20497 -
2009-06-07 16:24:00 +00:00
martin
9b4e327536 SynEdit: Fix Context menu by Keyboard
git-svn-id: trunk@20496 -
2009-06-07 14:49:29 +00:00
martin
2f710fb9b6 SynEdit, Beautifier: added Replace current indent
git-svn-id: trunk@20495 -
2009-06-07 12:03:16 +00:00
mattias
7fa3e9d966 synedit: clean up
git-svn-id: trunk@20493 -
2009-06-07 07:42:58 +00:00
martin
cf7f836d24 Editor Options: removed deprecated entry (alt-column-mode)
SynEdit: added handling for deprecated value

git-svn-id: trunk@20491 -
2009-06-07 01:28:26 +00:00
martin
cfcc5f9b04 SynEdit, Beautifier: Renamed OnDesiredIndentNeeded / Added to SourcEditor
git-svn-id: trunk@20490 -
2009-06-06 19:10:11 +00:00
martin
5306762a21 SynEdit, Beautifier: added Line param to OnDesiredIndentNeeded
git-svn-id: trunk@20488 -
2009-06-06 18:43:12 +00:00
martin
d891e19daf SynEdit, Beautifier: Renamed OnDesiredIndentNeeded / Fixed Log-Caret
git-svn-id: trunk@20486 -
2009-06-06 18:08:31 +00:00
mattias
a1c288222b codetools: moved indenter to TCodeToolManager
git-svn-id: trunk@20480 -
2009-06-06 16:16:51 +00:00
martin
e5d812e301 SynEdit, Beautifier: Added OnDesiredIndentNeeded
git-svn-id: trunk@20475 -
2009-06-06 15:24:45 +00:00
martin
dd531e749d SynEdit: Cleanup (Beautifier)
git-svn-id: trunk@20471 -
2009-06-06 14:46:49 +00:00
mattias
7a9d3e8f22 synedit: clean up
git-svn-id: trunk@20470 -
2009-06-06 11:11:28 +00:00
mattias
4454110a0b synedit: license and clean up
git-svn-id: trunk@20468 -
2009-06-06 10:56:38 +00:00
martin
82eab88ac2 EditorOptions/Mouse: Fixed Action=None / Added no action for click on fold-tree's vertical line(s)
git-svn-id: trunk@20434 -
2009-06-05 12:47:04 +00:00
martin
7b82b702dd Fix for jump to declaration / was passing wrong coordinate
git-svn-id: trunk@20415 -
2009-06-05 01:14:24 +00:00
martin
c48d05bde9 EditorOptions/Mouse: Added more Fold Actions templates
(missed a file)

git-svn-id: trunk@20414 -
2009-06-04 23:59:43 +00:00
martin
0f7c792281 EditorOptions/Mouse: Added more Fold Actions templates
git-svn-id: trunk@20413 -
2009-06-04 23:59:16 +00:00
martin
98e4b39c28 EditorOptions/Mouse: Merged Start/Continue Selection and added smLine mode selection
git-svn-id: trunk@20411 -
2009-06-04 22:24:44 +00:00
martin
c9f080f627 EditorOptions/Mouse: Added Config for Line-Number-Gutter => End users can add option to select line
git-svn-id: trunk@20410 -
2009-06-04 21:49:15 +00:00
martin
3332a54674 EditorOptions/Mouse: small fix in caret handling
git-svn-id: trunk@20409 -
2009-06-04 21:16:53 +00:00
martin
2accfb98d4 Cleanup
git-svn-id: trunk@20407 -
2009-06-04 20:44:05 +00:00
martin
6b34642783 EditorOptions/Mouse: Merged Code-Folding mouse config
git-svn-id: trunk@20406 -
2009-06-04 20:39:45 +00:00
martin
0ed28eaffa SynEdit, Fix Replacing SelectedText, if selection is backwards, issue #13904
git-svn-id: trunk@20399 -
2009-06-04 10:46:53 +00:00
martin
e2ce0db6bc EditorOptions/Mouse: added extra option; Full line select (issue #12302) / Mouselink on middle btn (issue #1878)
git-svn-id: trunk@20389 -
2009-06-04 01:18:42 +00:00
martin
82dd786de7 Fixed Mouse action / Ensure defaults are created
git-svn-id: trunk@20388 -
2009-06-03 23:42:31 +00:00
martin
6f5ec9cb32 Fixed Mouse action for SynMemo issue #13902
git-svn-id: trunk@20387 -
2009-06-03 23:25:06 +00:00
martin
485e5c2c90 SourceEditor: Introduced Selection-Toggle-Comments issue #13824 and redone old Set/Unset Comment. Based on a patch by Flávio Etrusco
git-svn-id: trunk@20379 -
2009-06-03 18:06:25 +00:00
martin
a635ac62cf SynEdit: Added configuration for mouse behaviour / Fix Gutter ContextMenu on left button
git-svn-id: trunk@20372 -
2009-06-03 13:49:40 +00:00
martin
b4e9932523 SynEdit: Added configuration for mouse behaviour / Deal with deprecated otpion "dbl click selects line"
git-svn-id: trunk@20370 -
2009-06-03 13:31:49 +00:00
martin
7bde133acd SynEdit: Added configuration for mouse behaviour / Fix Gutter ContextMenu
git-svn-id: trunk@20359 -
2009-06-02 21:54:42 +00:00
martin
6e2bbfb0a1 SynEdit: Added configuration for mouse behaviour / Fix Gutter ContextMenu
git-svn-id: trunk@20358 -
2009-06-02 21:46:12 +00:00
martin
52b9334051 SynEdit: Added configuration for mouse behaviour / Ad ContextMenu
git-svn-id: trunk@20357 -
2009-06-02 21:35:01 +00:00
martin
8bca8c909b SynEdit: Added configuration for mouse behaviour Issue #1878, Issue #8603, see http://wiki.lazarus.freepascal.org/Editor_Options_Mouse
git-svn-id: trunk@20353 -
2009-06-02 18:11:47 +00:00
martin
c73fc17107 SynEdit: Added ability for highlighter to specify color for the area past the "end of line". Based on a patch by Brad Campbell
git-svn-id: trunk@20244 -
2009-05-26 14:32:08 +00:00
martin
b57eb768dc SynEdit: Added ability for highlighter to specify color for the area past the "end of line". Based on a patch by Brad Campbell
git-svn-id: trunk@20243 -
2009-05-26 14:13:22 +00:00
martin
1c82e7f370 SynEdit: Fix Caret issue. A hidden, non-focused SynEdit could sometimes steal the Caret from the current SynEdit. Bug #13796
git-svn-id: trunk@20241 -
2009-05-26 12:49:54 +00:00
martin
691b65e142 SynEdit: Clean-up, removed a couple of IFDEF SYN_LAZARUS
git-svn-id: trunk@20240 -
2009-05-26 11:59:58 +00:00
martin
a66eac69ae SynEdit: Fixed regression from revision 19907 #e747489eff/19908 #a24043f0e8, Chinese/Eastern DoubleWidth fonts where drawn with too much spacing. Bug #13764
git-svn-id: trunk@20053 -
2009-05-19 19:25:23 +00:00
martin
db010cf64c SynEdit: Fixed regression from revision 19907 #e747489eff/19908 #a24043f0e8, Chinese/Eastern DoubleWidth fonts where drawn with too much spacing. Bug #13764
git-svn-id: trunk@20052 -
2009-05-19 18:24:21 +00:00
martin
e1f781f1a1 SynEdit: fixed wrong higlight for forward class declaration (matching "class" <> not existing "end" word pair) issue #13750
git-svn-id: trunk@20029 -
2009-05-18 22:56:50 +00:00
martin
331b3f8019 SynEdit: Handle #13 if it's not a SynKeyStroke. This allows #13 to be passed on in OnKeyPressed. Issue #9195
git-svn-id: trunk@20009 -
2009-05-17 13:34:49 +00:00
mattias
1b9d01b147 synedit: syncompletion: overriding UTF8 keypress in TSynAutoComplete
git-svn-id: trunk@19993 -
2009-05-17 00:11:26 +00:00
mattias
7050dbc7cc synedit: syncompletion: overriding UTF8 keypress
git-svn-id: trunk@19992 -
2009-05-17 00:03:15 +00:00
mattias
1e32f92f32 codetools: linkscanner now scans in finer granularity
git-svn-id: trunk@19986 -
2009-05-16 22:29:55 +00:00
martin
9e7e2cfd0c SynEdit, Pas-Highlighter: fixed a crash, by pointer range-check violation / random mem access
git-svn-id: trunk@19957 -
2009-05-13 17:15:31 +00:00
martin
9274d85e5b SynEdit: Fix painting in Search and replace / issue #13702
git-svn-id: trunk@19956 -
2009-05-13 17:15:12 +00:00
martin
2607eec3c3 SynEdit: TextLayout added debug output
git-svn-id: trunk@19944 -
2009-05-12 13:49:02 +00:00
martin
cb1aabd1fe SynEdit: TextLayout improved for MacOs, added debug output
git-svn-id: trunk@19942 -
2009-05-12 13:35:43 +00:00
martin
fb2740c0d9 SynEdit: fixed font width checks; missing overhang from TextMetrics / fixed BaseStyle
git-svn-id: trunk@19916 -
2009-05-11 00:45:10 +00:00
martin
a24043f0e8 SynEdit: Improved detection of Font dimension according to all styles used by highlighter
git-svn-id: trunk@19908 -
2009-05-10 15:30:02 +00:00
martin
e747489eff SynEdit: Reimplemented detection of CharAdvandce/Width; fix issue #13651; Also better display for proportional fonts, through better detection of widest char (often "@", not "M")
git-svn-id: trunk@19907 -
2009-05-10 14:56:32 +00:00
martin
91feaaad58 SynEdit: Removed unused DBCS code
git-svn-id: trunk@19905 -
2009-05-10 12:38:04 +00:00
martin
0e976f6448 SynEdit: Fix for rev 19888 #8a75ad9020 (multi line selection did no longer paint)
git-svn-id: trunk@19889 -
2009-05-09 20:47:52 +00:00
martin
8a75ad9020 SynEdit: Erase Background Line by Line; reduce flicker if not double-buffering (Gtk1)
git-svn-id: trunk@19888 -
2009-05-09 19:35:56 +00:00
martin
b9bd442a0f SynEdit: Fix display error under Gtk2 with real tabs in source. Issue #13669
git-svn-id: trunk@19859 -
2009-05-08 13:06:42 +00:00
mattias
00c4c17376 clean up
git-svn-id: trunk@19833 -
2009-05-07 08:16:47 +00:00
martin
ed6ba36741 SynEdit / Gtk2: Fixing Highlight/redraw issues with revision 19801 #1312656bf4: ScrollWindowEx for Gtk2
git-svn-id: trunk@19813 -
2009-05-05 16:10:52 +00:00
martin
28a1b83734 SynEdit (Win only): Reduced amount of Invalidated area fir vertical scroll and let ScrollWindowEx do it's work.
git-svn-id: trunk@19777 -
2009-05-02 23:48:08 +00:00
martin
d26b4ccd22 Synedit: Fixed Fold-contextmenu for ifdef, region
git-svn-id: trunk@19759 -
2009-05-02 11:06:58 +00:00
vincents
3fe5350912 updated po files with new strings
git-svn-id: trunk@19681 -
2009-04-29 05:37:42 +00:00
martin
ff3a210ee6 SynEdit, fixed Line-Indent if trim-spaces uses "Position Only"
git-svn-id: trunk@19672 -
2009-04-28 20:28:19 +00:00
marc
a0cc36d681 * Updated Chineese translation by shinyv
* Renamed zh-cn extention to zh_CN (to be more consequent with others)

git-svn-id: trunk@19637 -
2009-04-26 15:44:31 +00:00
paul
38dd29e0b7 synedit: fix TSynBaseCompletionHint after recent THintWindow change
git-svn-id: trunk@19618 -
2009-04-25 14:21:15 +00:00
martin
468a0e145f SynEdit, Fixed fold-context menu. Some items would not show, if begin-end blocks were not folded. issue #13576
git-svn-id: trunk@19602 -
2009-04-24 10:12:20 +00:00
martin
9d8131f5d6 SynEdit: Fixed flicker, if themes(Windows) where off. SynEdit would not use a double-buffer then. issue #0013550
git-svn-id: trunk@19553 -
2009-04-21 12:51:31 +00:00
martin
c14b8611f4 SynEdit: Fold-context-Menu, fix crash for right click at lines without fold
git-svn-id: trunk@19549 -
2009-04-21 12:30:58 +00:00