From 2a83dcb64a9a7374eafd296b7fdaa583c845f47b Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sat, 30 May 2026 09:08:56 +0200 Subject: [PATCH] fixed: adding new tabstops --- AppKit/CPTextView/CPRulerView.j | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppKit/CPTextView/CPRulerView.j b/AppKit/CPTextView/CPRulerView.j index 71c9e9992..391c390db 100644 --- a/AppKit/CPTextView/CPRulerView.j +++ b/AppKit/CPTextView/CPRulerView.j @@ -330,6 +330,11 @@ CPRulerOrientationVertical = 1 representedObject:nil]; [self addMarker:newMarker]; + // Notify the client view (e.g., CPTextView) that a new marker was added + var client = [self clientView]; + if (client && [client respondsToSelector:@selector(rulerView:didAddMarker:)]) + [client rulerView:self didAddMarker:newMarker]; + _draggingMarker = newMarker; _dragStartPoint = localPoint; _dragStartLocation = rulerLocation;