Commit Graph

37 Commits

Author SHA1 Message Date
mattias
1d8586a848 gtk2: clean up
git-svn-id: trunk@36791 -
2012-04-15 11:46:16 +00:00
mattias
f7fbc97d3f gtk2: clean up
git-svn-id: trunk@36784 -
2012-04-15 01:45:34 +00:00
zeljko
1611f70770 Gtk2: fixed assert with TCustomListView and lisFocused on gtk2 >= 2.20, Gtk2TranslateScrollStyle moved to gtk2proc to be reused by all
scrolling controls.

git-svn-id: trunk@29508 -
2011-02-13 11:30:14 +00:00
zeljko
9b53bfd7b2 Gtk2: implemented ScrollBars property for TMemo. patch by theo. issue #18735
git-svn-id: trunk@29478 -
2011-02-12 08:05:09 +00:00
zeljko
ec644c4d7d Gtk2: fixed TMemo.ReadOnly. fixes #17367
git-svn-id: trunk@27281 -
2010-09-07 19:18:48 +00:00
zeljko
d0a7a15d11 Gtk2: properly set wordwrap for TGtk2WSCustomMemo. fixes #16875
git-svn-id: trunk@26535 -
2010-07-08 20:29:59 +00:00
marc
46ebaabc7a gtk-splitup: merged gtk source into gtk2, removed gtk1 ifdefs
git-svn-id: trunk@26012 -
2010-06-09 23:01:52 +00:00
vincents
8b7dbf4939 LCL: moved the creation of interface specific TCustomMemo.Lines from CreateHandle to InitializeWnd, so that Lines are interfaces specific in TCustomEdit.CreateWnd, a proper fix for r21115 #2a16a46258
git-svn-id: trunk@21116 -
2009-08-06 10:21:33 +00:00
vincents
2a16a46258 gtk2 interface: temporarily disabled Memo.SelStart and SelLength if the memo strings are not yet created, even if an handle exists.
git-svn-id: trunk@21115 -
2009-08-06 09:54:27 +00:00
paul
b3be50f764 gtk2: use queued SelLength if available (issue #0014065)
git-svn-id: trunk@20768 -
2009-06-30 08:11:13 +00:00
paul
00b1b0bbb3 gtk2: implement color changing for TListView and TListBox (issue #0013914)
git-svn-id: trunk@20454 -
2009-06-05 17:19:11 +00:00
andrew
7d267984d2 Hopefully fixed gtk2 bug where SelLength wouldn't work
git-svn-id: trunk@20178 -
2009-05-24 23:23:45 +00:00
paul
f3bff5ed70 minor formatting
git-svn-id: trunk@19714 -
2009-04-30 16:46:10 +00:00
paul
c2871390b9 gtk, gtk2: don't skip default font when we assign it to widget or it is imposible to reset font back to default in other case
git-svn-id: trunk@19711 -
2009-04-30 16:04:38 +00:00
paul
ac0184724f gtk, gtk2, win32: don't call OnChange twice when we change TEdit text (bug #0013102)
gtk2: don't call OnChange more than one time when we change TMemo text

git-svn-id: trunk@19151 -
2009-03-29 09:06:48 +00:00
paul
a8c551af68 gtk2: apply TMemo.BorderStyle at widget creation
git-svn-id: trunk@19036 -
2009-03-20 02:09:03 +00:00
paul
aa6305c562 lcl: implement TEdit.Alignment (patch of Zeljan with small mine modifications)
git-svn-id: trunk@18139 -
2009-01-05 18:22:41 +00:00
paul
25e9426c10 lcl: MaxLength redo:
- MaxLength = 0 => no limit, MaxLength > 0 => limit. Default = 0 for memo, combo and edit
  - fix gtk, gtk2 code where MaxLength = -1 was used for unlimited length in Memo (why? combo and edit used 0)
  - fix qt combobox SetLength (was occasional forgotten?)
  - cleanup

git-svn-id: trunk@17365 -
2008-11-13 06:42:37 +00:00
sekelsenmat
d2156b2d40 Patch from Henry Vermaak. Implements TMemo.CaretPos under gtk2
git-svn-id: trunk@14980 -
2008-04-26 00:42:45 +00:00
sekelsenmat
e8e001fd1d Finishes separating TGtk2WSCustomMemo from the gtk1 counterpart.
git-svn-id: trunk@14863 -
2008-04-17 10:11:42 +00:00
paul
7bebb27eab messages:
- change messages name from LM_CUTTOCLIP to LM_CUT, LM_COPYTOCLIP to LM_COPY, LM_PASTEFROMCLIP to LM_PASTE, LM_CLEARSEL to LM_CLEAR since they are come from WM_CUT, WM_COPY, WM_CLEAR, WM_PASTE
- assign windows message number to that messages (fixes issue #0010747)

git-svn-id: trunk@14415 -
2008-03-05 03:52:01 +00:00
paul
dc2f654a2b add set_rc_name to every CreateHandle
git-svn-id: trunk@13545 -
2007-12-31 08:12:12 +00:00
paul
442741d188 gtk2: memo should have border
git-svn-id: trunk@12796 -
2007-11-09 08:44:44 +00:00
paul
5a22410984 gtk2:
- TGtk2WSCustomEdit.SetSelStart, TGtk2WSCustomEdit.SetSelLength
- replace some 'if not HandleAllocated then' with 'if not WSCheckHandleAllocated then'

git-svn-id: trunk@12599 -
2007-10-26 16:17:18 +00:00
andrew
71cb81c8b0 Fixed gtk2 bug #9974. Now Gtk2 Memo will scroll correctly for sure when Selstart is set or the Cursor is at the insertion point when text is added
git-svn-id: trunk@12556 -
2007-10-22 22:44:31 +00:00
andrew
2d6ece4fb8 Applied patch from bug #9972 to fix gtk2 memo.selstart
git-svn-id: trunk@12524 -
2007-10-19 22:40:27 +00:00
mattias
f20081a879 IDE: improved and enabled creation of .lrt files and combining all .rst/.lrt files into one .po files per project. ToDo: do the same for packages. From Luis Rodrigues
git-svn-id: trunk@12344 -
2007-10-06 13:59:31 +00:00
mattias
45cbd18a0c gtk2 intf: fixed TMemo setting echo mode and password char: not suported by TMemo
git-svn-id: trunk@11145 -
2007-05-15 13:49:33 +00:00
paul
3f6445f154 - TCustomMemo.WantTabs for gtk2
git-svn-id: trunk@11131 -
2007-05-12 12:30:18 +00:00
mattias
9fdf9fcfdf gtk intf: made creation/freeing of GDI objects more consistent and more strict. gtk2 intf: brush and pen are now created on demand
git-svn-id: trunk@11128 -
2007-05-11 16:52:05 +00:00
paul
1ef92b0f0b - TMemo.Alignment implementation for win32, qt, gtk2
git-svn-id: trunk@11092 -
2007-05-07 07:31:14 +00:00
mattias
12eba79c0d gtk2 intf: fixed widget used for mouse events
git-svn-id: trunk@11013 -
2007-04-27 09:44:42 +00:00
mattias
5afdbd9657 gtk intf: added menu items short cut labels, popup sub menu of menu bar shortcuts
git-svn-id: trunk@10591 -
2007-02-05 19:47:39 +00:00
andrew
2763b9f1f0 fixed bug #970 and bug #7257
implemented gtk2 memo SelStart SelLength

git-svn-id: trunk@10201 -
2006-11-14 21:11:22 +00:00
mattias
ed3bafe87a fixed gtk2 intf compilation for fpc 2.1.1
git-svn-id: trunk@9371 -
2006-05-28 11:33:07 +00:00
mattias
491a7b2186 gtk2 intf: setfont, setcolor for memo, combobox
git-svn-id: trunk@9170 -
2006-04-23 20:51:31 +00:00
marc
776866aee2 * gtk2 patch from Andrew
git-svn-id: trunk@7064 -
2005-04-07 22:04:02 +00:00