Commit Graph

68 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
c208e3f4e9 richmemo: win32 unit uses clean up
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4072 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-31 04:14:46 +00:00
792e773443 richmemo: add support for links (via textuiparams), added implementation for win32
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4071 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-31 04:14:22 +00:00
d0aed3c85f richmemo: win32 cleanup
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4069 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-27 13:52:25 +00:00
214b9bdbda richmemo: added support for subscript and superscript. win32 implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4068 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-27 13:52:05 +00:00
8f4b0570a8 richmemo: win32 verify the update state of Lines before changing WM_SETREDRAW flag
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4065 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-25 04:19:12 +00:00
352531c61f richmemo: print event processing
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4063 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-22 21:00:03 +00:00
72db518cb9 richmemo: modified print from pageRect to margins (double) for paragraph's consistency.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4059 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-21 03:41:19 +00:00
623a2c3fbf richmemo: Print() method introduced and implemented for Win32.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4056 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-20 18:58:11 +00:00
3f4026e7c4 richmemo: added tab offset mask (to prevent collision with tab underline information)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4043 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-17 02:28:31 +00:00
3fec33252d richmemo: adjusted renamed tab align properties
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4042 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-17 02:21:39 +00:00
3f1fc5e502 richmemo: * added tabstops support for the RichMemo and Win32Implementation
* added initialization to factory unit to prevent a warning on package compilation 
* clean up uses for richedit helpers
* code cleanup (removing empty lines)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4040 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-16 17:41:08 +00:00
48db5117f5 richmemo: win32 prevent selection change on inline insert
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3901 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-25 19:28:08 +00:00
c147bf9ceb richmemo: win32 corrected insertion of inline object - use specified start character and characters length
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3850 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-23 13:17:28 +00:00
9b07721e51 richmemo: implementation of win32 inline objects
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3847 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-20 16:45:53 +00:00
4cae993724 richmemo: improve win32 numbering
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3842 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-17 03:32:59 +00:00
ff15ba407a richmemo: refactored numbering API
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-10 12:06:44 +00:00
9b8a8037c7 richmemo: introducing zoomfactor property with win32 implementation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3827 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-06 20:49:00 +00:00
fa0c58f9da richmemo: win32 surpress undesired on selection change notifications, correct line spacing adjustments
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3813 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-30 08:32:37 +00:00
5f2a5fd8f8 richmemo: background color
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3808 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 21:18:38 +00:00
88e2799ba5 richmemo: allow selectchange event win32
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3807 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 20:33:46 +00:00
3ba964d1e6 richmemo: selection change win32 implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3803 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 06:12:16 +00:00
6dcc6025d4 richmemo: added GetParaRange methods and its win32 implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3783 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-26 16:16:54 +00:00
3c86805627 richmemo: implement the win32 search, parially based on patch by Krzysztof Dibowski (#17388)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3772 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-24 07:59:03 +00:00
7b7b13b4c6 richmemo: correct selText issue for win32
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3756 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-20 23:46:38 +00:00
56614b93e6 richmemo: remove insert options (not supported by any other widgetset, but win32)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3755 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-20 22:40:17 +00:00
a7af4fa1b9 richmemo: inserting image utility function
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3753 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-19 22:31:55 +00:00
7cceba702f richmemo: * relocated base types declaration to richmemo.pas unit. (ws units now depends on richmemo.pas. breaks gtk and carbon compilation)
* updated win32 ws for the dependency
* added richole types to win32


git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3746 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-19 03:58:06 +00:00
23db2b81b2 richmemo: manual reading of RTF file
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3732 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-16 06:46:18 +00:00
e9beda10fb richmemo: updating paragraph metics
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3730 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-15 18:57:15 +00:00
f7a1f57e5e richmemo: additional paragraph configurations
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3723 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-13 23:35:45 +00:00
38414f3a90 richmemo: paragraph alignment initialized
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3719 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-12 04:38:24 +00:00
6df495c1af richmemo: #21103 #23614 - TEditStream record changed to packed in order by be 64-bit compatible. Found by: Arndt Wills and gillesfr14
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2831 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-07 18:22:58 +00:00
005d47e24a richmemo: fix for #23042, the patch by teejaydub - fixes hangs on win32 setrangeparams
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2830 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-07 17:55:12 +00:00
4d27b9bce7 richmemo: remove debugging Exit; from LoadRichText proc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1247 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-07-04 15:01:15 +00:00
3ac6af427e richmemo: update custom rtf parser, win32 added InDel implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1228 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-20 12:21:17 +00:00
39dd49f7d2 richmemo: code cleanup
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1211 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-01 21:05:45 +00:00