Commit Graph

269 Commits

Author SHA1 Message Date
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
08713071ff richmemo: gtk2 use custommemo default signal handlers, added a handle for selection change notification
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3820 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-02 03:49:12 +00:00
681614d3c4 richmemo: improve line height support for gtk2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3819 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-02 03:14:38 +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
4f37004628 richmemo: sample of the different line height
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3816 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-01 11:46:47 +00:00
3bf63e4d38 richmemo: optimize rtf reading for paragraph alignment, text buffer, skipping rtf destinations
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3815 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-01 11:08:59 +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
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
2e8c900170 richmemo: refactoring in RTF loading
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3811 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 22:09:46 +00:00
9d9a2c6066 richmemo: custom rtf load test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3810 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 22:07:02 +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
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
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
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
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
fc26c9c573 richmemo: update RTF saving - specify range to extract as rtf
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3801 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 04:51:32 +00:00
179c8192f6 richmemo: gtk2 modify selection change. updated getRangeStyle to fail, if textStart is out of text
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3800 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-28 04:49:27 +00:00
154442eeab richmemo: saving rtf paragraph metric
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3797 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-27 06:36:54 +00:00
f9e3db6342 richmemo: gtk2 update getting paragraph metric
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3796 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-27 06:36:15 +00:00
0acaefb4b5 richmemo: update the package compilation, gtk2 register saving method
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3795 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-27 06:16:24 +00:00
6374f6a014 richmemo: layout anchros for paragraph test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3794 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-27 06:14:54 +00:00
6c9f217f74 richmemo: gtk2 correct returning metric parameter of the paragraph. Result functions for getpararange
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3793 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-27 06:12:18 +00:00
ba9e51eaa5 richmemo: remove an empty SetHideSelection override
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3792 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-27 06:11:23 +00:00
bcd9116085 richmemo: implemented gtk2 getting para-range and style-range
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3791 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-27 05:05:33 +00:00
74caad60e4 richmemo: started writing of RTF in widgetset independent manner
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3789 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-26 22:14:54 +00:00
1238d134ac richmemo: adding quick text insert utils
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3788 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-26 21:04:45 +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
566b81ba6a richmemo: added paragraph sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3785 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-26 16:58:35 +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
82d9043166 richmemo: gtk2 text search, partially based on the patch by Krzysztof Dibowski
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3779 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-25 05:36:26 +00:00
a37cb98b8c richmemo: clear up search test
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3778 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-25 05:35:05 +00:00
cb19d71afb richmemo: remove windows dependancy
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3777 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-25 04:44:12 +00:00
a751d502b7 richmemo: search sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3776 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-25 04:38:51 +00:00
d17987e01b richmemo: making load function compatible with earlier version of lazarus
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3775 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-25 04:04:40 +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
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
6946c8309a richmemo: added loadrtffile function
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3770 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-24 07:53:27 +00:00
2123114a7b richmemo: update the package for the new file extension
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3769 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-24 04:05:19 +00:00
42c175b5a1 richmemo: changed extension from .pp to .pas
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3768 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-24 03:54:22 +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
9dba703693 richmemo: gtk2 line spacing and image loading
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3766 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-22 08:04:51 +00:00
7cc8b875e5 richmemo: note about qt
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3765 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-22 06:02:38 +00:00
142e2f6fb6 richmemo: started qt interface
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3764 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-22 04:38:00 +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
8f4315465b richmemo: added FindText method to richedit helper
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3757 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-21 00:12:19 +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