Commit Graph

185 Commits

Author SHA1 Message Date
martin
c7eda00eb0 added debugln for focus
git-svn-id: trunk@35139 -
2012-02-04 23:31:55 +00:00
martin
f88a9d1f56 SynEdi: more debugln for undo
git-svn-id: trunk@35067 -
2012-01-31 19:26:25 +00:00
martin
d503d615c5 Added try finally to some UndoBlock (editor)
git-svn-id: trunk@34977 -
2012-01-27 15:13:52 +00:00
martin
7416247cc3 Synedit: Improved cancel completion. Issue #0017895
git-svn-id: trunk@33629 -
2011-11-19 14:55:29 +00:00
martin
583c6cf16d SynEdit: Fix all typecasts for TSynMemo; fix undoin TSynMemo
git-svn-id: trunk@32250 -
2011-09-10 11:32:06 +00:00
martin
86a71bfe1e SynEdit: Cache char-width info (Logical<>Physical) / Cleanup
git-svn-id: trunk@30074 -
2011-03-29 23:44:25 +00:00
juha
4e6e7a17b8 LCL: rename Menus.Shortcut function back to its Delphi compatible name.
git-svn-id: trunk@29859 -
2011-03-15 18:16:38 +00:00
juha
4e95f6a390 LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
paul
bfe85e683f ide, synedit, lcl: don't construct resourceless forms using Create constructor - use CreateNew instead
git-svn-id: trunk@29261 -
2011-01-31 03:38:11 +00:00
martin
ba8f8d4e90 SynEdit, SourceEdtior: Decouple UndoBlock from UpdateBlock
git-svn-id: trunk@28602 -
2010-12-03 02:10:35 +00:00
martin
693dd76264 SynCompletion: Removed gtk workaround, since issue #0017774 is fixed
git-svn-id: trunk@28461 -
2010-11-24 15:22:15 +00:00
martin
1ca8c0c336 SynCompletion, commented verbose DebugLn
git-svn-id: trunk@28317 -
2010-11-18 13:48:36 +00:00
martin
16a309b442 SynCompletion: Fix crash, if callback not assigned (sizegrip) issue #17898, fix showing sizegrip
git-svn-id: trunk@28177 -
2010-11-10 13:49:51 +00:00
martin
1730103b56 SynCompletion: Support wheel scrolling via LM_ instead of WM_. issue #0017872
git-svn-id: trunk@28132 -
2010-11-07 21:34:22 +00:00
martin
3cabb1f3d7 SynCompletion: Support double click to select
git-svn-id: trunk@28131 -
2010-11-07 21:09:34 +00:00
martin
6e5986d416 SynCompletion: Support wheel scrolling. issue #17810
git-svn-id: trunk@28130 -
2010-11-07 20:55:35 +00:00
martin
7c42bbbec7 SynCompletion: Improved height of SizeDrag handle
git-svn-id: trunk@28045 -
2010-11-02 21:57:09 +00:00
martin
17efbf82da SynCompletion: Fix gtk2 only: panel steals KeyDown(key-down/press events from form) and utf8keydown issue #17794
git-svn-id: trunk@28032 -
2010-11-02 01:49:47 +00:00
martin
ff529fcb58 SynCompletion: Fixed exception on empty list
git-svn-id: trunk@28016 -
2010-11-01 01:05:24 +00:00
martin
cf7da2876f SynCompletion: Improved positioning
git-svn-id: trunk@28012 -
2010-10-31 16:27:17 +00:00
martin
98001cb19e SynCompletion: Fix gtk2 only: panel steals KeyDown(key-down/press events from form) issue #17769
git-svn-id: trunk@28010 -
2010-10-31 13:59:43 +00:00
martin
e649eda3f8 SynCompletion: improved hint handling
git-svn-id: trunk@28000 -
2010-10-31 01:04:51 +00:00
martin
165f3a6807 SynCompletion: added optional ability to resize form. issue #0016835
git-svn-id: trunk@27998 -
2010-10-31 00:17:49 +00:00
martin
09f66b0517 SynEdit: fixed drawing of completion-win border
git-svn-id: trunk@27991 -
2010-10-30 21:00:13 +00:00
mattias
ff76cafd07 synedit: syncompletion: do not eat key
git-svn-id: trunk@27833 -
2010-10-24 17:47:41 +00:00
mattias
8ad5e11f4b IDE: clean up
git-svn-id: trunk@27509 -
2010-09-28 15:42:01 +00:00
mattias
81974df6bd synedit: fixed typo
git-svn-id: trunk@27505 -
2010-09-28 13:37:16 +00:00
martin
647bcccde4 SynEdit: Fix SynCompletion from un-setting eoPersistenCaret. Issue #17288
git-svn-id: trunk@27215 -
2010-08-27 22:31:27 +00:00
martin
bb4d53ff94 SynEdit: Started rework of Gutter, started adding new overview gutter
git-svn-id: trunk@27027 -
2010-08-08 00:35:06 +00:00
martin
8db9286b37 SynCompletion: avoid possible crash ./ fix app.Deactivate
git-svn-id: trunk@26596 -
2010-07-11 13:29:03 +00:00
martin
662e9519a7 SynCompletion: Cancel on Topline change (window would be misplaced otherwise)
git-svn-id: trunk@26548 -
2010-07-09 16:25:10 +00:00
mattias
16af3c13d5 synedit: clean up
git-svn-id: trunk@25904 -
2010-06-04 21:52:53 +00:00
martin
8b125eb6a7 Syncompletion: remove custom double buffer bitmap
git-svn-id: trunk@25872 -
2010-06-03 19:39:18 +00:00
martin
e370d93462 SynCompletion: Update hint when scrolling with mouse
git-svn-id: trunk@25871 -
2010-06-03 18:01:53 +00:00
martin
a5ac940baf SynEdit: Fix long line hint (was not always updated)
git-svn-id: trunk@25853 -
2010-06-02 23:02:54 +00:00
martin
cc05c07cf1 SynCompletion: Customize hint handling for long lines in drop-down window
git-svn-id: trunk@25826 -
2010-06-01 22:50:28 +00:00
mattias
dab1b02763 clean up OldAutoSize
git-svn-id: trunk@25823 -
2010-06-01 20:21:32 +00:00
martin
2ec8112e71 SynEdit: Clean up
git-svn-id: trunk@25822 -
2010-06-01 20:12:35 +00:00
martin
8db8ccf782 Synedit-Completion: make end/home key work (independent of ctrl key)
git-svn-id: trunk@25422 -
2010-05-15 14:15:51 +00:00
martin
5c2f0c5caa SynEdit: Fixed Hint (completion window) measurements
git-svn-id: trunk@24756 -
2010-04-20 19:31:55 +00:00
martin
819f86018d SynEdit-Completion: Fixed long line hint for multi-monitor
git-svn-id: trunk@24611 -
2010-04-13 13:42:27 +00:00
mattias
ad982bfee9 LCL: TCalculatorForm, TCustomDockForm, TSynBaseCompletionForm, ShowInputDialog: combine creation
git-svn-id: trunk@24422 -
2010-04-05 00:03:39 +00:00
mattias
6c43608618 LCL: removed unused flag csCreating
git-svn-id: trunk@23952 -
2010-03-11 20:59:37 +00:00
martin
2749b31b1e SynCompletion: Fix div by zero, due to resize during creation (Issue #15964). Patch by Aleksa Todorovic
Added extra code, to prevent unnecessary calculations.

git-svn-id: trunk@23948 -
2010-03-11 19:34:54 +00:00
martin
558e3511f9 SynEdit, SynCompletion: Fixed dropped keys after completion finished (gtk) issue #0014667
git-svn-id: trunk@22580 -
2009-11-13 21:29:52 +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
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
592732cea4 SynEdit: added persistent block
git-svn-id: trunk@20965 -
2009-07-26 23:06:26 +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
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
paul
38dd29e0b7 synedit: fix TSynBaseCompletionHint after recent THintWindow change
git-svn-id: trunk@19618 -
2009-04-25 14:21:15 +00:00
martin
9c3c06ecf8 SynEdit, Cleanup: Removed unused unit dependencies / changed some var-param into out-param
git-svn-id: trunk@19222 -
2009-04-04 21:23:53 +00:00
paul
e999f6d313 components: remove Ctrl3D, ParentCtl3D properties
git-svn-id: trunk@18515 -
2009-01-31 12:02:04 +00:00
mattias
204d1aa9b5 LCL: not focusing THintWindow on show
git-svn-id: trunk@18474 -
2009-01-28 15:39:55 +00:00
paul
062984cd61 synedit: eat special keys in the completion IntfUTF8KeyPress as it is happen in the ansi KeyPress handler (part of bug #0012222)
git-svn-id: trunk@18209 -
2009-01-08 12:51:38 +00:00
paul
d2cfcc3186 synedit, ide: fix sourcecompletion on windows after deactivate (part of bug #0012222)
git-svn-id: trunk@18208 -
2009-01-08 12:34:19 +00:00
paul
533a95598d synedit: don't focus syncompletion scrollbar (bug #0012926)
git-svn-id: trunk@18171 -
2009-01-06 16:13:28 +00:00
mattias
1f1aa8a31a synedit: added note
git-svn-id: trunk@18163 -
2009-01-06 11:05:35 +00:00
mattias
13b54cba9a synedit: undo 18141: completion can work when not visible
git-svn-id: trunk@18160 -
2009-01-06 10:36:52 +00:00
paul
580a831bf3 synedit: don't try to complete the code when completion form is not visible ('Dummy' part of bug #0012222)
git-svn-id: trunk@18141 -
2009-01-05 19:23:39 +00:00
paul
35fdea5b96 synedit: fix scroll calculations of the completion box, hide scroll if there is no need in it (bug #0012910)
git-svn-id: trunk@18104 -
2009-01-04 16:46:31 +00:00
martin
bb49ada1b7 SynEdit: fixes caret sometimes invisible on last line (bug #12680). Adds caret visible on partial visible line.
git-svn-id: trunk@18016 -
2009-01-01 18:26:03 +00:00
paul
27805961ec synedit: don't resize completion form scrollbar to 10 pixels in width. It is not compatible with some themes and can lead to ugly look. Use default width instead.
git-svn-id: trunk@17966 -
2008-12-27 17:19:10 +00:00
paul
2f04ce8eba synedit: fix visibility warnings
git-svn-id: trunk@17615 -
2008-11-28 02:41:09 +00:00
mattias
4c0ed780bf synedit: clean up
git-svn-id: trunk@15520 -
2008-06-22 22:57:31 +00:00
marc
b9ed9ea932 * Optimized setting bitmap dimension
git-svn-id: trunk@15512 -
2008-06-22 18:27:48 +00:00
mattias
de71745a05 synedit: syncompletion: calling old OnKeyDown events, bug #9020
git-svn-id: trunk@14276 -
2008-02-27 12:54:09 +00:00
mattias
dbf55b433f IDE: started code help hint window
git-svn-id: trunk@12766 -
2007-11-07 17:00:51 +00:00
mattias
8d7812da86 IDE: completion form is now created on demand and the internal double buffer bitmap is resized correct
git-svn-id: trunk@11130 -
2007-05-12 09:39:20 +00:00
mattias
0f2b6b8e44 gtk2 intf: fonts of device contexts are now created on demand
git-svn-id: trunk@11121 -
2007-05-10 08:44:03 +00:00
mattias
3012a523fe fixed FPC 2.0 compilation
git-svn-id: trunk@11018 -
2007-04-27 15:06:08 +00:00
mattias
769478772a gtk intf: fixed sending keypress event twice
git-svn-id: trunk@10737 -
2007-03-10 22:38:35 +00:00
mattias
85de8ce1f8 Find in files: showing skipped results
git-svn-id: trunk@9693 -
2006-07-29 14:09:04 +00:00
mattias
a7f0807084 improved freeing TSynCompletion from Burkhard Carstens
git-svn-id: trunk@9425 -
2006-06-12 19:22:35 +00:00
mattias
bea76b8d1a limited completion box hint to screen width, otherwise some window managers will put it somewhere
git-svn-id: trunk@9014 -
2006-03-25 12:46:24 +00:00
mattias
bb71ab95c8 identifier completion now adds the end of token key
git-svn-id: trunk@8808 -
2006-02-23 11:39:17 +00:00
mattias
9fce6cebd5 added hints for to biig identifier completion items from Tomas Gregorovic
git-svn-id: trunk@8772 -
2006-02-18 15:20:09 +00:00
mattias
c54f333978 started IDE progress dialog and splitted project sessions
git-svn-id: trunk@8120 -
2005-11-09 19:40:59 +00:00
mattias
bec6005a12 started codetemplate makros and project source directories
git-svn-id: trunk@8044 -
2005-11-02 23:09:33 +00:00
mattias
e9bef6865c fixed word/identifier completion adding keys
git-svn-id: trunk@7583 -
2005-08-27 17:45:51 +00:00
mattias
e063082bb7 fixed deactivating word/identifier completion box on loosing focus
git-svn-id: trunk@7578 -
2005-08-27 13:41:09 +00:00
mattias
577379f6ec fixed underscore in word/identifier completion
git-svn-id: trunk@7567 -
2005-08-25 17:40:43 +00:00
vincents
4cc22e9844 csCreating is a ControlState
git-svn-id: trunk@7564 -
2005-08-24 22:35:38 +00:00
mattias
a6441b5840 implemented allowing resizing of TSynCompletionForm
git-svn-id: trunk@7561 -
2005-08-24 18:10:00 +00:00
mattias
33235b94e5 implemented word/identifier completion on pressing non alphanumeric char
git-svn-id: trunk@7549 -
2005-08-22 20:29:45 +00:00
mattias
60145ca7f2 implemented VK_LEFT/VK_RIGHT for word/identifier completion
git-svn-id: trunk@7529 -
2005-08-20 22:51:30 +00:00
mattias
6dcd7874c3 fixed sending UTF8 key presses in gtk intf
git-svn-id: trunk@7412 -
2005-07-23 23:15:19 +00:00
mattias
9b69eb23ec added Key:=#0 after handling it in TSynBaseCompletionForm.KeyPress
git-svn-id: trunk@7316 -
2005-07-02 21:29:27 +00:00
mattias
107a955dd6 fixed syncompletion for UTF8 keypress
git-svn-id: trunk@7248 -
2005-06-18 09:22:56 +00:00
mattias
c5808e7584 updated finnish translation from Seppo
git-svn-id: trunk@7180 -
2005-05-18 07:17:09 +00:00
mattias
c0c452e889 implemented word/ident/template completion end on end of token char
git-svn-id: trunk@6869 -
2005-03-01 11:40:32 +00:00
mattias
9cbff0982c added default values for compiler skip options and improved many parts of synedit for UTF8
git-svn-id: trunk@5919 -
2004-09-04 22:24:16 +00:00
mattias
725ee3133d improved double byte char fonts for gtk1, started synedit UTF8 support
git-svn-id: trunk@5906 -
2004-09-02 09:17:00 +00:00
mattias
4cb794d4d7 added OnUTF8KeyPresss
git-svn-id: trunk@5895 -
2004-08-30 16:37:58 +00:00
mazen
c4db8f2797 + TCharater type used to allow UTF8 keyboard with gtk2
git-svn-id: trunk@5781 -
2004-08-13 16:40:47 +00:00
mattias
3fb20adcaa fixed special key point in syncompletion
git-svn-id: trunk@5511 -
2004-05-25 22:02:39 +00:00
mattias
106d63ecce added nil check for Deactivate
git-svn-id: trunk@5452 -
2004-05-10 08:10:07 +00:00
mattias
617948d9c8 removed unneeded units in uses sections
git-svn-id: trunk@5443 -
2004-05-02 12:01:15 +00:00