skalogryz
f7576c62e0
richmemo: win32 fix compliation for the older versions of fpc
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7929 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-12-15 19:00:35 +00:00
skalogryz
72c74560de
richmemo: win32 trying to parse HYPERLINK for the link action
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7910 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-11-30 15:13:28 +00:00
ondrejpokorny
3f6128bd76
RTF Win32 FPC trunk compilation
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7645 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-09-06 08:11:18 +00:00
skalogryz
fb17e650c0
richmemo: win32, more generic handling of WM_PRINT
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7383 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-04-14 18:32:41 +00:00
skalogryz
6de4d85840
richmemo: Win32 special code for WS.PrintTo(). WM_PRINT doesn't work as expected for RICHEDIT
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7381 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-04-14 02:38:56 +00:00
skalogryz
6f4d0213ea
richmemo: win32: speedup the scrolling speed. bug #36636
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7323 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-29 20:48:45 +00:00
skalogryz
9100c787d7
richmemo: adding a workaround for richEdit not properly drawn after being minimized
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7284 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 22:06:39 +00:00
jesusr
ba065d1088
Richmemo: Fix mem leak.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6849 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-04-21 06:48:15 +00:00
skalogryz
412cb29f9a
richmemo: fix win32 compilation for trunk. #34970
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6810 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-29 19:04:54 +00:00
skalogryz
55159c505e
richmemo: fix the superscript detection on Win32. Patch by Vladimir Rybant
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6722 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-11-10 02:54:29 +00:00
skalogryz
9df1d93d35
richmemo: win32 - cleanup warnings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6526 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-25 02:12:35 +00:00
skalogryz
8d5997b3e3
richmemo: extending linkaction information with linkRef
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6290 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-05 03:41:09 +00:00
skalogryz
da14f07b40
richmemo: adding link setting code richedit 41 and earlier
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6289 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-05 01:11:55 +00:00
skalogryz
26520b92c9
richmemo: prevent win32 scrolling on changing text attributes
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5974 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-07 18:01:02 +00:00
skalogryz
e66ef65444
richmemo: win32 smooth scroller (instead of Win32CustomMemo per-line scroller)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5969 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-06 20:19:51 +00:00
skalogryz
d9a05ba0b9
richmemo: implementing Redo and CanRedo for Win32
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5844 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-04-30 02:22:02 +00:00
skalogryz
b50c32d866
richmemo: win32 fix the issue with not returning background color. Addressing some compiler warnings
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5836 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-04-14 05:25:07 +00:00
skalogryz
f75e49b2fd
richmemo: win32 fix the regerssion in getting sub text
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5708 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-01-26 18:29:39 +00:00
skalogryz
5f6efe8bb8
richmemo: based on the patch by Andrey Korol ( #30618 ), receiving ZoomFactor from widgetset (if hot keys were used to zoom the editor, w/o notifications to LCL). Win32 implementation added.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5306 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-03 15:25:28 +00:00
skalogryz
1bdb92bd6e
richmemo: removing TWinLangOptions from the unit interface, due to issues with x64 compilation. The type has not been used by anyone yet.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5295 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-27 13:05:30 +00:00
skalogryz
5fa536c9b9
richmemo: win32 - defaulting richedit manager, so it is still used for custom RichEdit classes
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5290 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-24 18:20:17 +00:00
skalogryz
2b957acf3f
richmemo: win32 - allow a custom richedit class to be specified
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5289 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-24 14:37:05 +00:00
skalogryz
9315166222
richmemo: win32 - making language options exposed as a set type for win32 only interface
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5288 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-10-24 14:27:30 +00:00
skalogryz
98caf0bcec
richmemo: win32 - restoring the context menu functioning, based on the patch by Andrey Korol
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5219 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-27 03:32:16 +00:00
skalogryz
a41ce36cb5
richmemo: win32 modified object resizing approach to prevent objects leaks
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5196 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-21 17:59:34 +00:00
skalogryz
9953b56cdf
richmemo: win32 adding InsertInlineFlags to give control over how inline objects are inserted
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5163 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-15 03:21:46 +00:00
skalogryz
7d3b69a48e
richmemo: win32 ole utility functions
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5162 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-15 03:14:17 +00:00
skalogryz
052a7a2ad1
richmemo: win32, assigning IRichMemoOLECallback object on RichMemo creation.
...
The object would generate storages for incoming OLE object (needed for WinXP machines to load RTF embedded objects).
based on the sample by engkin
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5159 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-14 13:28:09 +00:00
skalogryz
2123ae7101
richmemo: win32 + holding selection direction for GetXXX operations (that are strictly selection based).
...
reduce the number of redundant OnChange events, only call them on real event happening.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5117 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-02 03:25:11 +00:00
skalogryz
df60a80341
richmemo: updating search method to return the length of the found text (for cases, where found text could be different than a searched one. I.e. Hebrew or Arabic scripts)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5115 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-31 15:59:03 +00:00
skalogryz
093d31e8f1
richmemo: fix in scrollbars styles selection for win32. (non Auto- scrollbars would now be disabled instead of disappeared)
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5090 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-15 02:13:23 +00:00
skalogryz
e24cdc8732
richmemo: fix in default color selection
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5089 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-13 21:33:47 +00:00
skalogryz
267efe922d
richmemo: speed up range style selection by comparing flag to initalStyle rather than all supported styles
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5050 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-29 19:01:40 +00:00
skalogryz
58c9433aa1
richmemo: always update the selection to make the "SelStart" at the minimal character position, when detecting styles
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5049 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-29 18:47:08 +00:00
skalogryz
51a647988c
richmemo: win32, remove the limitation to default (32K or 64K) characters, when MaxLength of RichMemo is set to 0. The issue reported by TraumTaenzerDieter on the forum.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4617 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-04-12 00:44:04 +00:00
skalogryz
2084eccb79
richmemo: prevent $OBJECTCHECKS (-CR) on RichMemo units
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4600 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-03-25 13:53:06 +00:00
skalogryz
5804937f58
richmemo: win32 fix style selection on internal change.
...
modified Internal change. Only allow if styles is fully modified.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4526 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-02-29 04:48:34 +00:00
skalogryz
15d43e4035
richmemo: fix compilation for LCL without 9x support
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4468 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-01-25 14:40:29 +00:00
skalogryz
3e0fabe544
richmemo: efficient way of setting attributes
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4377 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-10-12 20:20:41 +00:00
skalogryz
bf92d455f5
richmemo: extending support for links in win32
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4191 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-15 17:21:30 +00:00
skalogryz
51cb7240d2
richmemo: win32 fix for theme border drawing. #28269 , based on the patch by Andrey Korol
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4190 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-06-15 16:52:31 +00:00
skalogryz
46386a0f37
richmemo: win32 clean up hints
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4155 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-27 01:42:13 +00:00
skalogryz
6ac1c63457
richmemo: win32 theme drawing. #21347 . The implementation is based on the patch (by unknown contributor - see the bug tacker issue). But, thank you!
...
The way to override the implementation is provided.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4154 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-26 16:48:41 +00:00
skalogryz
8592b112fd
richmemo: clean up win32 compiler hint messages
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4153 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-26 16:08:53 +00:00
skalogryz
4ccf6e7c15
richmemo: added CanPaste method and implementation for win32
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4149 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-25 01:01:12 +00:00
skalogryz
915ba50653
richmemo: win32 setting RichEdit default font on WS SetFont method
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4147 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-24 04:51:16 +00:00
skalogryz
e1182fc49d
richmemo: renamed values of TTabAlignment from ta** to tab** to prevent name collision with Classes.TAlignment.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4140 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-18 12:16:18 +00:00
skalogryz
8d29dccb15
richmemo: CharAtPos method
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4086 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-04-19 03:25:43 +00:00
skalogryz
fd5de1f0bf
richmemo: fix typo in parameter name
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4084 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-04-19 01:53:20 +00:00
skalogryz
0fe137b895
richmemo: introduced GetText (GetUText). default and win32 implementation
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4077 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-04-06 03:10:21 +00:00