mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 14:30:54 +00:00
In [updateRuler] set the client view of the ruler view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13381 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7c4581009e
commit
bef97ec33b
1 changed files with 2 additions and 1 deletions
|
@ -2012,6 +2012,8 @@ replacing the selection.
|
|||
makers = [_layoutManager rulerMarkersForTextView: self
|
||||
paragraphStyle: paraStyle
|
||||
ruler: rv];
|
||||
// FIXME This is not the correct place to call this.
|
||||
[rv setClientView: self];
|
||||
[rv setMarkers: makers];
|
||||
}
|
||||
}
|
||||
|
@ -3231,7 +3233,6 @@ afterString in order over charRange. */
|
|||
NSPoint point = [aRulerView convertPoint: [theEvent locationInWindow]
|
||||
fromView: nil];
|
||||
float location = point.x;
|
||||
// FIXME This image does not exist.
|
||||
NSRulerMarker *marker = [[NSRulerMarker alloc]
|
||||
initWithRulerView: aRulerView
|
||||
markerLocation: location
|
||||
|
|
Loading…
Reference in a new issue