Commit Graph

260 Commits

Author SHA1 Message Date
skalogryz
8724ce88e4 richmemo: support for paragraph formatting
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7299 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-18 20:25:33 +00:00
skalogryz
89db2544c5 richmemo: support for reading a skip unicode character
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7298 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-18 19:51:33 +00:00
skalogryz
0d86dacf46 richmemo: support for deflang and parameters group
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7291 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-17 15:57:10 +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
skalogryz
d1956180b1 richmemo: adding support for super and sub script into manually loading RTF. patch by Vladimir Rybant. (source: 783938acdd)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7283 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 15:39:38 +00:00
skalogryz
274ebf2d71 richmemo: adding the check for a valid character offset, for most GetXXXX attributes methods. bug #32296
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7282 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 15:09:10 +00:00
skalogryz
042de4a95e richmemo: patch the Search result not returning true. By David. bug #32297
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7281 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 14:53:43 +00:00
skalogryz
bb765a2605 richmemo: preserving richmemo selection on intSaveStream. Patch by Matthew Shaffer. bug #34791
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7280 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 14:45:00 +00:00
skalogryz
c35f7ea889 richmemo: updating defines selection
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7279 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 14:26:24 +00:00
skalogryz
19aca57b5e richmemo: adding RMLCLTRUNK define
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7278 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 14:25:57 +00:00
skalogryz
1718de4281 richmemo: fix gtk2 type casting error
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7277 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 14:10:13 +00:00
skalogryz
0b6c8ce22d richmemo: downshift the package
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7276 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 14:06:27 +00:00
skalogryz
95f1b45254 richmemo: breaking up richmemo to (runtime) package and design
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7275 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-13 13:56:26 +00:00
skalogryz
939a9b6bbb richmemo: cocoa adding GetStyleRange, patch by David. #34559
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7014 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-06-20 13:27:16 +00:00
skalogryz
fe98aaa771 richmemo: cocoa updating handle reference
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7013 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-06-20 13:24:44 +00:00
skalogryz
6e5f190f01 richmemo: Qt5 proper implementation of GetStyleRange using the newly added (trunk) QTextBlock_textFormats function
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7000 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-06-06 14:05:27 +00:00
skalogryz
6c43e9a745 richmemo: gtk2. changing (back) richmemostrings to inherit from gtk2memostrings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6961 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-05-27 19:06:19 +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
9feaae0649 richmemo: cocoa saverichtext implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6815 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-02-12 04:43:21 +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
474e22c385 richmemo: update cocoa compilation for the trunk cocoa version
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6721 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-11-10 02:36:37 +00:00
skalogryz
cbf4d62a9c richmemo: updating Cocoa component to use the new CocoaTextEdits unit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6551 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-07-08 03:45:40 +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
b66e16bb76 richmemo: cleanup warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6525 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-25 02:11:10 +00:00
skalogryz
5bba58fa30 richmemo: cocoa, fix memory use
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6474 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-08 02:57:29 +00:00
skalogryz
430b047031 richmemo: cocoa, cleanup memory use to prevent crashes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6473 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-08 02:53:04 +00:00
skalogryz
7f3cb8ed40 cocoa: finally fixing cocoa compilation issue
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6305 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-04-14 20:10:21 +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
a7d192079f richmemo: temporary workaround to prevent scrolling on style change
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5970 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-07-06 20:49:49 +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
49a8f3acb3 richmemo: Qt5 implementation by Zeljan Rikalo, #31426
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5845 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2017-04-30 02:29:35 +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
936d249789 richmemo: modified patch by Silvio Clécio (#30852). (removed the use of Default() intrinsic, since it's not available in FPC 2.6.4. It's also a responsibility of GetTextAttributes function to fully initialized TFontParams structure).
* added SaveRTFFile function to utilities
* modified IDE RTF editor to allow saving a file

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5305 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-11-03 15:04:42 +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
0f1c8da837 richmemo: win32 win32richmemoole should be considered as a part of the package
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5220 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-27 03:33:00 +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