mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Added code to share multiple textviews with a single layout manager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8373 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b867efaa01
commit
39da358cad
1 changed files with 23 additions and 6 deletions
29
ChangeLog
29
ChangeLog
|
@ -1,3 +1,23 @@
|
|||
Tue Dec 19 21:13:50 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
First implementation of sharing attributes between NSTextViews
|
||||
with the same layout manager. Non tested yet - and we miss
|
||||
sharing the selection.
|
||||
* Headers/gnustep/gui/NSTextView.h: Added a flag to keep track of
|
||||
the case multiple text views. Added an ivar to cache the
|
||||
firstTextView object to use in notifications.
|
||||
* Source/NSTextView.m: ([-_updateMultipleTextViews]),
|
||||
([-_syncTextViewsByCalling:withFlag:]): New methods.
|
||||
([-replaceTextContainer:]), ([-setTextContainer:]): Call
|
||||
_updateMultipleTextViews:. ([-setEditable:]), ([-setRichText:]),
|
||||
([-setImportsGraphics:]), ([-setSelectable:]),
|
||||
([-setUsesFontPanel:]), ([-setFieldEditor:]), ([-setUsesRuler:]),
|
||||
([-setRulerVisible:]): Rewritten to share attributes - if needed -
|
||||
with the other NSTextViews. ([-didChangeText]): Post the
|
||||
firstTextView as notif object if needed. ([-setDelegate:]):
|
||||
Rewritten completely to share the delegate if needed.
|
||||
* Source/NSTextView.m ([-string]): Moved from NSText.m.
|
||||
|
||||
Tue Dec 19 17:53:35 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Headers/gnustep/gui/NSTextView.h: Moved some flags from NSText.h.
|
||||
|
@ -9,12 +29,9 @@ Tue Dec 19 17:53:35 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
|||
([-initWithFrame:textContainer:]): Code moved to NSTextView.m.
|
||||
* Source/NSTextView.m ([-backgroundColor]),
|
||||
([-setBackgroundColor:]), ([-setDrawsBackground:]),
|
||||
([-drawsBackground]), ([-isEditable]), ([-setSelectable:]),
|
||||
([-isSelectable]), ([-isFieldEditor]), ([-setFieldEditor:]),
|
||||
([-usesFontPanel]), ([-setUsesFontPanel:]), ([-isRichText]),
|
||||
([-importsGraphics]): Removed.
|
||||
([-setEditable:]), ([-setRichText:]), ([-setImportsGraphics:]):
|
||||
Extend super's implementation.
|
||||
([-drawsBackground]), ([-isEditable]), ([-isSelectable]),
|
||||
([-isFieldEditor]), ([-usesFontPanel]), ([-isRichText]),
|
||||
([-importsGraphics]), ([-isRulerVisible]): Removed.
|
||||
|
||||
Tue Dec 19 00:43:17 2000 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
|
|
Loading…
Reference in a new issue