Sublime Forum

Values that are overridden in the Mac platform specific settings

#1

Some settings in the default preferences file are described as to be overridden in the Mac platform specific settings. For instance:

"close_windows_when_empty": ...
"find_selected_text": ...
"scroll_past_end": ...
// And few others, but I'm not interested in them

Sorry to ask a probably very boring question, but:

  • why these settings are overridden in the Mac platform specific settings only?
  • why these settings and not others are overridden in the Mac platform specific settings?
0 Likes

#2

To align ST’s default behavior with OS conventions.

0 Likes

#3

But I don’t see any differences in how macOS and Windows treat things like close_windows_when_empty, find_selected_text or scroll_past_end differently (Sorry, I missed the word “differently” at first). And though I don’t use Linux, I’m sure it is the same there as well.

For example, neither macOS TextEdit nor Windows Notepad don’t search selected text. Nor they allow scroll past the end of a file.

0 Likes

#4

There are substantial differences on macOS, Windows and Linux:

  • close_windows_when_empty: Lots of Windows and Linux apps that have tabs allow you to close all tabs while keeping the window open, otherwise the entire application would quit. On macOS apps don’t quit when all windows are closed, so it’s expected for the window to close with the last tab.
  • find_selected_text: Find behaves very differently on macOS. You use cmd+e to copy text into the find clipboard, cmd+f doesn’t do this.
  • scroll_past_end: MacOS doesn’t have this anywhere, but some Microsoft apps like Visual Studio do.
1 Like