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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
2205d5125c
richmemo: register customrichmemo if none registered. updated samples's resouce usage
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1198 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-04-13 12:05:58 +00:00
3e63d8afaf
fix for SelText clearing text formatting
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@935 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-08-18 05:21:51 +00:00
b3909f097d
fix for win32RichMemo background color as suggested by Dusan.
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@919 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-21 22:40:13 +00:00
98f42bc1d5
renamed GetStyleLength to GetContStyleLength and moved protected section
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@857 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-21 10:52:02 +00:00
b0e4a4d926
added license information, changed package version to 1.0 and a small cleanup
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@856 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-20 20:54:09 +00:00
a5c4b4e9bf
update windows version to be compilable
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@843 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-14 09:18:53 +00:00
640f89fe10
fix in carbonrichedit getting attributes. changes richedit getting atttributes interface. updated simpletest
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@840 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-13 12:00:11 +00:00
b39665794f
added style-range selection (carbon-only for now), updated test for the new feature
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@839 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-12 20:46:34 +00:00
de57c067ab
added Load/Save richtext streams and Carbon implemnetation
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@835 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-10 10:32:00 +00:00
3eb6fb7a4f
started RichMemo package
...
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@820 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-06-04 19:38:39 +00:00