Revision: 30048
http://sourceforge.net/p/bibdesk/svn/30048
Author: hofman
Date: 2026-02-23 23:23:01 +0000 (Mon, 23 Feb 2026)
Log Message:
-----------
disable automatic substitution of quotes, dashes, and links in text views
Modified Paths:
--------------
trunk/bibdesk/BDSKEditor.m
trunk/bibdesk/BDSKTextImportController.m
Modified: trunk/bibdesk/BDSKEditor.m
===================================================================
--- trunk/bibdesk/BDSKEditor.m 2026-02-23 17:43:21 UTC (rev 30047)
+++ trunk/bibdesk/BDSKEditor.m 2026-02-23 23:23:01 UTC (rev 30048)
@@ -251,16 +251,25 @@
[notesView setString:[publication valueOfField:BDSKAnnoteString
inherit:NO] ?: @""];
[notesView setEditable:editorFlags.isEditable];
[notesView setTextColor:[NSColor textColor]];
+ [notesView setAutomaticQuoteSubstitutionEnabled:NO];
+ [notesView setAutomaticDashSubstitutionEnabled:NO];
+ [notesView setAutomaticLinkDetectionEnabled:NO];
[abstractView setIdentifier:BDSKAbstractString];
[abstractView setUsesDefaultFont:YES];
[abstractView setString:[publication valueOfField:BDSKAbstractString
inherit:NO] ?: @""];
[abstractView setEditable:editorFlags.isEditable];
[abstractView setTextColor:[NSColor textColor]];
+ [abstractView setAutomaticQuoteSubstitutionEnabled:NO];
+ [abstractView setAutomaticDashSubstitutionEnabled:NO];
+ [abstractView setAutomaticLinkDetectionEnabled:NO];
[rssDescriptionView setIdentifier:BDSKRssDescriptionString];
[rssDescriptionView setUsesDefaultFont:YES];
[rssDescriptionView setString:[publication
valueOfField:BDSKRssDescriptionString inherit:NO] ?: @""];
[rssDescriptionView setEditable:editorFlags.isEditable];
[rssDescriptionView setTextColor:[NSColor textColor]];
+ [rssDescriptionView setAutomaticQuoteSubstitutionEnabled:NO];
+ [rssDescriptionView setAutomaticDashSubstitutionEnabled:NO];
+ [rssDescriptionView setAutomaticLinkDetectionEnabled:NO];
if (@available(macOS 10.14, *)) {
[notesView setDrawsBackground:NO];
[abstractView setDrawsBackground:NO];
Modified: trunk/bibdesk/BDSKTextImportController.m
===================================================================
--- trunk/bibdesk/BDSKTextImportController.m 2026-02-23 17:43:21 UTC (rev
30047)
+++ trunk/bibdesk/BDSKTextImportController.m 2026-02-23 23:23:01 UTC (rev
30048)
@@ -207,6 +207,10 @@
[webViewBox setBackgroundColors:nil];
[webViewBox setBackgroundView:nil];
+ [sourceTextView setAutomaticQuoteSubstitutionEnabled:NO];
+ [sourceTextView setAutomaticDashSubstitutionEnabled:NO];
+ [sourceTextView setAutomaticLinkDetectionEnabled:NO];
+
[itemTableView registerForDraggedTypes:@[NSPasteboardTypeString,
NSPasteboardTypeURL]];
[itemTableView setDoubleAction:@selector(addTextToCurrentFieldAction:)];
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