Commit Graph

276 Commits

Author SHA1 Message Date
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
d245500ae0 richmemo: + added Qt support for set/get text attributes.
+ added implementation for Qt search() method

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-05-18 02:18:01 +00:00
skalogryz
3665dc7c3a richmemo: gtk2 imlpementation of CharAtPos
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4088 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-04-19 03:50:37 +00:00
skalogryz
a32406dc1d richmemo: added hittest (CharAtPos) example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4087 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-04-19 03:30:11 +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
1507632a55 richmemo: fixing the same typo as in previous rev for gtk2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4085 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-04-19 02:00:06 +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
bb76adab15 richmemo: update link sample to be pure GUI application, properly name button captions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4078 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-04-06 03:11:57 +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
04b7618b48 richmemo: links example
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4076 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-04-06 00:59:39 +00:00
skalogryz
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
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
3ba32c21e3 richmemo: gtk2 implemented super and sub scripts
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4070 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-28 04:39:20 +00:00
skalogryz
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
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
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
skalogryz
671e0af7b1 richmemo: fix delphi SelAttributes.Styles unset behaviour
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4064 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-24 12:41:02 +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
cb78def1e9 richmemo: remove explicit use of "richmemopackage" from sample projects
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4061 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-21 03:44:34 +00:00
skalogryz
5384089c5f richmemo: print sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4060 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-21 03:41:39 +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
4093d31ddb richmemo: cocoa implemented zoomfactor(), had to introduce TCocoaRichView to store the previous scaling factor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4053 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-19 04:25:52 +00:00
skalogryz
7b24fd2711 richmemo: cocoa, implement get/set text attirbute, paragraph metrics. updated tab stops set/get methods
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4052 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-19 03:46:54 +00:00
skalogryz
b4799b072a richmemo: update helper to adjust tabs for all selected paragraphs, rather than under cursor position
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4049 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-18 15:53:20 +00:00
skalogryz
885b7ba7a6 richmemo: delphi compatible helper is extended with Tab Stops implementation. Modified paragraph to be in points and not in pixels to match Delphi implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4048 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-18 15:28:53 +00:00
skalogryz
50f3ed0d1b richmemo: gtk2 correct wordwrap setting
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4047 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-18 02:10:28 +00:00
skalogryz
e36746f27d richmemo: gtk2 fix scrollbars property to match TMemo rules. implemented tab stops
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4044 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-17 03:43:59 +00:00
skalogryz
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
skalogryz
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
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
032850517e richmemo: fix style check for boldness of the default font
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4025 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-14 00:24:13 +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
6f05506393 richmemo: gtk2 fix gettextattribute function, implement WSGetFontParams
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4011 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-03-09 03:11:02 +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
097469f097 richmemo: gtk2 inline objects initial support. The inline samples works, but leaves a lot of resource leaks
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3920 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-02-02 03:14:10 +00:00
skalogryz
7d5620b2da richmemo: gtk2 removing timer dependent code for getting selection length
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3916 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 23:55:14 +00:00
skalogryz
7b848b49d8 richmemo: gtk2 replacing memostrings with richmemostrings (not using timer). uninstalling selection-change handler on destruction of the widget to prevent crashes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3910 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2015-01-30 00:51:43 +00:00
skalogryz
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
skalogryz
cd6fad17f3 richmemo: gtk2 numbering - erasing with backspace
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3853 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-25 18:56:43 +00:00
skalogryz
c6d23a2712 richmemo: gtk initial numbering implementation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3852 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-24 04:11:38 +00:00
skalogryz
77610e63ca richmemo: remove numbering buttons - they are to be added as a separate demo
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3851 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-23 14:14:10 +00:00
skalogryz
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
skalogryz
01753e2ba7 richmemo: cleanup inline example. left the reference to the origin of the cheetah logo image
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3849 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-23 13:16:25 +00:00
skalogryz
5c830bda81 richmemo: added inline objects demo.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3848 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-23 06:15:41 +00:00
skalogryz
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
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
e46d06509e richmemo: load rtf (tobe improved), paragraph set alignment for cocoa
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3837 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-12 06:05:10 +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
105be398c2 richmemo: gtk2 zoomfactor
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3830 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-07 05:32:21 +00:00
skalogryz
739e0a8f41 richmemo: adding zoom sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3828 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-12-06 20:49:22 +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
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
skalogryz
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
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
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
skalogryz
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
skalogryz
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
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
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
skalogryz
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
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
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
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
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
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
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
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
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
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
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
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
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
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
skalogryz
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
skalogryz
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
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
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
skalogryz
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
skalogryz
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
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
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
b3a37afe67 richmemo: added richedit compatible class helpers, started utils unit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3752 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-19 19:43:03 +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
7d3e2969ef richmemo: fix gtk2 compilation
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3749 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-19 06:00:34 +00:00
skalogryz
bb37e60dd1 richmemo: started cocoa ws
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3748 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-19 05:27:26 +00:00
skalogryz
7b756e79c9 richmemo: fix compilation for carbon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3747 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-19 04:06:25 +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
c9f2b4378d richmemo: loading unicode characters
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3741 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-18 06:06:49 +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
a2359e13a8 richmemo: gtk2 set metric
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3735 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-17 07:04:27 +00:00
skalogryz
63722e3998 richmemo: improve gtk2 support. + InDel operation, + paragraph alignment, * improved getting / setting text attributes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3734 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-17 06:15:03 +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
5e651bcb6b richmemo: note about next-to impossible to set a paragraph alignment on carbon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3722 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-13 05:41:27 +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
7862b86939 richmemo: #17319, fix gtk2 compilation. the patch is provided by Krzysztof Dibowski.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3710 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2014-11-09 04:42:37 +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
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
skalogryz
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
skalogryz
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
skalogryz
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
skalogryz
9238e84017 richmemo: cleanup registering richmemo class
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1227 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-20 10:28:35 +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
7dc3b52515 richmemo: fix richmemo initialization. update testsimple
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1222 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-15 19:14:57 +00:00
skalogryz
18e7e77a41 richmemo: updating carbon richmemo for the recent clipboard operation changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1212 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-05-01 22:08:15 +00:00
skalogryz
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
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
skalogryz
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
skalogryz
5f12c4c84e richmemo: added information about PrepareCreateWindow LCL versions
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1178 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-03-07 16:03:45 +00:00
skalogryz
6318477cfe richmemo: fix compilation for the latest win32 lcl changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1177 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-03-07 11:51:34 +00:00
skalogryz
3e230c3b5b richmemo: fix win32 wrong background color. now using ColorToRGB function
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1138 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2010-01-24 12:45:21 +00:00
skalogryz
9c6bbd1077 richmemo: fixed SetTextAttributes, implemented GetTextAttributes for Gtk2
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@989 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-27 12:53:39 +00:00
skalogryz
526c860186 fix for win richmemo scrollbars
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@988 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-10-24 21:36:20 +00:00
skalogryz
0993f43699 richmemo: implements gtk2 settextstyle range
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@965 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-26 20:03:16 +00:00
skalogryz
da7140dead richmemo: gtk2 richmemo should compile for gtk2 widgetset only
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@964 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-26 18:04:58 +00:00
skalogryz
c369d3321e richmemo: added gtk2richmemo. No rich-text functionallity. Just to be compilable
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@962 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-20 12:30:09 +00:00
skalogryz
6a5ffd2533 richmemo: fix for win32 OnChange event after GetAttributes proc. Removed debug out from sample project
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@961 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-19 18:11:58 +00:00
skalogryz
06f6bd2021 carbon: fix for incorrect font size set
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@960 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-18 10:28:07 +00:00
skalogryz
e29245cc17 carbon: switch caret color to white, if background is black
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@958 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-09-17 14:12:10 +00:00
skalogryz
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
skalogryz
e1c560ada7 removed Carbon bindings from the sample
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@920 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-07-21 22:41:40 +00:00