Revision: 30038
          http://sourceforge.net/p/bibdesk/svn/30038
Author:   hofman
Date:     2026-02-22 15:23:57 +0000 (Sun, 22 Feb 2026)
Log Message:
-----------
replaced one case too many

Modified Paths:
--------------
    trunk/bibdesk/BDSKEditor.m

Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m  2026-02-22 15:19:43 UTC (rev 30037)
+++ trunk/bibdesk/BDSKEditor.m  2026-02-22 15:23:57 UTC (rev 30038)
@@ -412,7 +412,9 @@
                 editedRow = [fields indexOfObject:editedField];
             [self editTextFieldAtRow:editedRow selection:selection];
         } else if ([[self window] makeFirstResponder:firstResponder]) {
-            [self editTextFieldAtRow:editedRow selection:selection];
+            if ([firstResponder isKindOfClass:[NSTextField class]])
+                textView = (NSTextView *)[(NSTextField *)firstResponder 
currentEditor];
+            [textView setSafeSelectedRanges:selection];
         }
         
     }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to