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
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
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
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
f892042ca9
richmemo: renamed tab stop alignment to left and right, implemented for cocoa
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4041 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-17 01:52:51 +00:00
skalogryz
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
skalogryz
0f0f3e8651
richmemo: the package unit shouldn't be attached to the project
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4023 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-13 20:12:25 +00:00
skalogryz
26fef957ec
richmemo: simplify flag checks for byte type. corrected gtk2 style read for default font
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4017 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-12 04:08:37 +00:00
skalogryz
47109b3dd8
richmemo: fix color assignment when generating TFontParams from TFont. Introduced RMGetFontData to cover the issue with LCL GetFontData. todo: patch LCL Graphics.GetFontData
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4016 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-12 03:46:49 +00:00
skalogryz
896ff5fe08
richmemo: added wsgetfontparams to handle missing informations
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4010 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-09 03:10:06 +00:00
skalogryz
6d2e993c22
richmemo:
...
* introduced GetFontParams(TFont) to convert TFont to TFontParams (resolving font data). Using GetFontData(AFont.Reference.Handle) to resolve the passed font information (to handle uninitialized fonts). TFont.Handle is deprecated.
* corrected the TFontParams parameter passing in InsertFontText function
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4001 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-06 16:41:17 +00:00
skalogryz
fdd08738ef
richmemo: initialize font params structure SetTextAttributes method with TFont
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3999 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-06 14:04:42 +00:00
skalogryz
7c11c226d3
richmemo: inline objects to the interface
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3846 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-20 16:44:08 +00:00
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
f75c4cc370
richmemo: mitigrate range operations
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3818 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-02 03:14:02 +00:00
skalogryz
3764b37587
richmemo: added constant for linespacing. corrected loading/saving of linespacing information
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3812 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-30 08:14:17 +00:00
skalogryz
68f8a5e06c
richmemo: use RTFSaveStream, if provided
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3809 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 21:24:46 +00:00
skalogryz
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
skalogryz
385b0e79ab
richmemo: added design-time Rtf property and a property editor for it
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3806 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 15:06:44 +00:00
skalogryz
cce0084857
richmemo: added OnSelectionChange event
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3802 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 06:11:15 +00:00
skalogryz
0b78422b43
richmemo: make indeltext method public
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3787 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-26 21:04:11 +00:00
skalogryz
5dc465cd2f
richmemo: added modified paragraph modified mask.
...
update the paragraph demo to adjust paragraph metrics
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3786 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-26 17:41:48 +00:00
skalogryz
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
skalogryz
6fa141025c
richmemo: Search and SetSetLengthFor methods
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3771 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-24 07:58:17 +00:00
skalogryz
592e08affc
richmemo: clarification of rules on line spacing
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3767 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-22 08:39:39 +00:00
skalogryz
61030f96a9
richmemo: added convenience method getparaalignment
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3763 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-22 04:37:32 +00:00
skalogryz
03f96d6674
richmemo: fix typo in the function implementation
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3762 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-22 04:00:49 +00:00
skalogryz
15d467d894
richmemo: fix ParaMetric initialization function
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3759 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-21 14:18:08 +00:00
skalogryz
e8737dbf66
richmemo: correct misspelling of the method name GetParaAlignment
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3751 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-19 19:39:18 +00:00
skalogryz
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
skalogryz
73e1f3a793
richmemo: update the RichText loading script.
...
added language conversion
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3738 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-17 19:10:40 +00:00
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
3db28fa6a8
richmemo: forcing handle allocation on set* operations (including load), to make sure that RichMemo system specific operations can be executed, #19662
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2832 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2013-11-08 03:02:45 +00:00
skalogryz
a5f834253f
richmemo: adding custom RTF parser, using MVC's rtfparspre211 unit
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1226 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-20 10:27:49 +00:00
skalogryz
e1762dbfab
richmemo: moving clipboard operations onto widgetsetlevel
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1210 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-01 21:04:43 +00:00