mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Call setClientView: before calling setMarkers: to fix a problem when a textView's text is set or changed when the textView is not the first responder, such as at windowControllerDidLoadNib: time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34633 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cbf7bc52a9
commit
3e7c9bceef
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2012-01-25 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/NSTextView.m (-updateRuler): Call setClientView: before
|
||||
calling setMarkers: to fix a problem when a textView's text is
|
||||
set or changed when the textView is not the first responder,
|
||||
such as at windowControllerDidLoadNib: time.
|
||||
|
||||
2012-01-25 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSImage.m (+imageNamed:): Don't try to look up path
|
||||
|
|
|
@ -4597,6 +4597,7 @@ shouldRemoveMarker: (NSRulerMarker *)marker
|
|||
makers = [_layoutManager rulerMarkersForTextView: self
|
||||
paragraphStyle: paraStyle
|
||||
ruler: rv];
|
||||
[rv setClientView:self];
|
||||
[rv setMarkers: makers];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue