Loading ...
Sorry, an error occurred while loading the content.

22660Bug in ^!Select

Expand Messages
  • Art Kocsis
    May 2, 2012
    • 0 Attachment
      There is a bug in Notetab standard for ^!Select EOL and ^!Select LINES
      NotePro gets it right for both.

      For partial multi-line selections (multiple lines selected,
      selection end points in middle of respective lines):

      For both NoteTab Std & Notetab Pro
      ^!Select BOL will extend the selection to
      the beginning of the FIRST line.

      Likewise, for NotePro ^!Select EOL will
      EXTEND the selection to the end of the LAST line.

      But for Notetab Std, ^!Select EOL will
      SHORTEN the selection to the end of the FIRST line.

      The help file does not specify first or last but it does
      explicitly say "EXTENDS the selection" for both cases.

      ===============
      The ^!Select LINES bug is another manifestation of the left to right
      vs right to left and inclusion/exclusion of the line terminator
      anomalies I reported earlier. Selection right to left (keyboard or
      mouse), does not include the line terminator whereas selecting
      left to right (keyboard or mouse but not ^!Select EOL) does
      include the line terminator.

      If the current selection does not include the line terminator,
      in NoteTab Std, ^!Select LINES will extend the selection to
      include the line terminator.

      If a selection already does include the line terminator on the last
      line, each execution of ^!Select LINES will add another line (including
      another line terminator).

      Thus, in the worst case, with only a single line terminator selected,
      ^!Select LINES will select two complete lines.

      Another gotcha for those writing clips that have to work with
      both the standard and pro versions.

      Namaste', Art
    • Show all 2 messages in this topic