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:
Fred Kiefer 2002-04-06 23:36:40 +00:00
parent 7c4581009e
commit bef97ec33b

View file

@ -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