From e3e82fb0060b15762f15799b7713ecdce50d2bae Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Sun, 6 Dec 2020 19:16:17 -0800 Subject: [PATCH] Fix docs and preferences to indicate non-CoreText renderer is deprecated Now that CoreText scrolling performance is fixed with the stateful renderer we should eventually stop supporting the legacy NSTextView renderer which doesn't renderer properly and cannot do proper fixed-width column rendering that Vim uses. Mark it as deprecated for now but it will be removed in the future. --- runtime/doc/gui_mac.txt | 4 +--- src/MacVim/Base.lproj/Preferences.xib | 3 +-- src/MacVim/MacVim.h | 2 +- src/MacVim/Miscellaneous.h | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/runtime/doc/gui_mac.txt b/runtime/doc/gui_mac.txt index 6098bce2cd..0a069a1830 100644 --- a/runtime/doc/gui_mac.txt +++ b/runtime/doc/gui_mac.txt @@ -257,6 +257,7 @@ KEY VALUE ~ *MMLoginShellArgument* login shell parameter [string] *MMLoginShellCommand* which shell to use to launch Vim [string] *MMNoFontSubstitution* disable automatic font substitution [bool] + (Deprecated: Non-CoreText renderer only) *MMNoTitleBarWindow* hide title bar [bool] *MMTitlebarAppearsTransparent* enable a transparent titlebar [bool] *MMAppearanceModeSelection* dark mode selection (|macvim-dark-mode|)[bool] @@ -793,9 +794,6 @@ if you would like to see certain messages localized. This list is by no means exhaustive, it only enumerates some of the more prominent bugs/missing features. -- Under macOS Mojave (10.14), the default renderer (Core Text renderer) has - some performance issues and scrolling is not as smooth as previous macOS - versions (10.13 or below). - Sound. MacVim does not currently support |+sound| yet. - |modifyOtherKeys| support. This feature allows for more granular key mapping (e.g. differentiating and ) and isn't supported by the diff --git a/src/MacVim/Base.lproj/Preferences.xib b/src/MacVim/Base.lproj/Preferences.xib index 303551a42b..568add5082 100644 --- a/src/MacVim/Base.lproj/Preferences.xib +++ b/src/MacVim/Base.lproj/Preferences.xib @@ -367,9 +367,8 @@ - + - Selecting this option will increase rendering performance but double-tapping with three fingers to look up words will no longer work. diff --git a/src/MacVim/MacVim.h b/src/MacVim/MacVim.h index 5083dcf28f..f3beb56656 100644 --- a/src/MacVim/MacVim.h +++ b/src/MacVim/MacVim.h @@ -348,7 +348,7 @@ extern NSString *MMShareFindPboardKey; extern NSString *MMAutosaveRowsKey; extern NSString *MMAutosaveColumnsKey; -extern NSString *MMRendererKey; +extern NSString *MMRendererKey; // Deprecated: Non-CoreText renderer enum { MMRendererDefault = 0, diff --git a/src/MacVim/Miscellaneous.h b/src/MacVim/Miscellaneous.h index 78fee089ea..1ead1423e7 100644 --- a/src/MacVim/Miscellaneous.h +++ b/src/MacVim/Miscellaneous.h @@ -32,7 +32,7 @@ extern NSString *MMBaselineOffsetKey; extern NSString *MMTranslateCtrlClickKey; extern NSString *MMTopLeftPointKey; extern NSString *MMOpenInCurrentWindowKey; -extern NSString *MMNoFontSubstitutionKey; +extern NSString *MMNoFontSubstitutionKey; // Deprecated: Non-CoreText renderer extern NSString *MMAppearanceModeSelectionKey; extern NSString *MMNoTitleBarWindowKey; extern NSString *MMTitlebarAppearsTransparentKey;