MacRabbit

CETextPreferences

JavaScriptAPI : TextActionContext : CETextPreferences

CETextPreferences is a special object that provides access to information about the document preferences for the TextActionContext.

Read-only properties

  • tabString: the string that is inserted when the user hits the tab key. For instance, if the user has chosen to use two spaces per tab and insert spaces instead of tabs, this string will be two spaces
  • lineEndingString: the default line ending; returns \n, \r\n, or \r