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

Re: [NTB] Pre-Rlse#5 Feedback: Select EOL Inconsistancies:

Expand Messages
  • Eb
    Art, I ve confirmed your results and summarized them - in the clip list, as my answer contains a clip to display hidden characters. Cheers, Eb
    Message 1 of 5 , Apr 25, 2012
    • 0 Attachment
      Art, I've confirmed your results and summarized them - in the clip list, as my answer contains a clip to display hidden characters.

      Cheers,

      Eb

      --- In notetab@yahoogroups.com, "Eb" <ebbtidalflats@...> wrote:
      >
      > I stand by my limited test results, made with NTP 7 prerelease #5, and NTS 7 prerelease #3.
      >
      > I'll try to duplicate some of your tests when I get matching prereleases for Pro and Std.
      >
      >
      > Eb
      >
      >
      > --- In notetab@yahoogroups.com, Art Kocsis <artkns@> wrote:
      > > ...
      > > Keyboard behavior:
      > > ==============
      > > Essentially identical behavior as with the mouse.
      > > In NT Std (L-R): Pressing Shift-End from BOL selects the entire line,
      > > INcluding the CRLF and LEAVES the cursor positioned on the same line at
      > > BEGINNING OF LINE.
      >
      > This is affected by paragraph wrapping or not.
      >
      >
      > >
      > > In NT Pro (L-R): Pressing Shift-End from BOL selects the entire line,
      > > EXcluding the CRLF and MOVES the cursor on the same line but at the END OF
      > > LINE.
      > >
      > > (R-L): Pressing Shift-Home from EOL selects the entire line, EXcluding
      > > the CRLF and positions the cursor at col 1 for both NT Std and NT Pro.
      > >
      > > Clip behavior (Here's where it gets really messy)
      > > ===================================
      > > In NT Std (L-R): ^!Select EOL from BOL selects the entire line, EXcluding
      > > the CRLF
      > > The NT Std status line displays BOS/BOL values
      > > The clip Row:Col values are Beginning Of Selection (BOS) (same row, col 1)
      > > ^!Select 0 leaves the cursor positioned at BOS/BOL (same row, col 1)
      > > ^!MoveCursor +n starts from the EOS/EOL (before the CRLF)
      > > ^!MoveCursor -n starts from the BOS/BOL
      > >
      > > In NT Pro (L-R): The CLIP behavior is identical (same selection, same
      > > Row:Col values, same subsequent cursor movements), except for ^!Keyboard
      > > Left | Right commands.
      > > The NT Pro STATUS LINE displays EOS/EOL values
      > >
      > > These status bar display differences are also evident in the subsequent
      > > clip behavior of ^!Keyboard ^!Keyboard Left | Right commands or if the clip
      > > is canceled after the ^!Select EOL command (the selection is still
      > > highlighted) and an arrow key is pressed.
      > >
      > > In NT Std, a ^!Keyboard Left command starts from the BOS/BOL position and
      > > moves the document position one character to the left (to the middle of the
      > > CRLF pair!). A ^!Keyboard Right command starts from the EOS/EOL position
      > > and moves the cursor position one document character to the right (again,
      > > to the middle of the CRLF pair!).
      > >
      > > In NT Pro, a ^!Keyboard Left command starts from the EOS/EOL position and
      > > moves the cursor position one character to the left. A ^!Keyboard Right
      > > command, also starts from the EOS/EOL position but treats the CRLF
      > > character pair as a single character and moves the cursor TWO
      > > document positions to the right.
      > >
      > > Similarly, if a clip is canceled while the selection is still highlighted,
      > > immediately pressing an arrow yields identical results as the respective
      > > clip ^!Keyboard behavior in both Std and Pro version.
      > >
      > > Clip behavior for Right to Left selection is identical to the Left to Right
      > > behavior.
      > > Cursor position subsequent to the selection is independent of L-R or R-L
      > > selection. Subsequent ^!MoveCursor +/- and ^!Select 0 behavior is
      > > identical. The abovementioned status line value differences also appear and
      > > are independent of selection direction. The ^!Keyboard Left | Right and
      > > arrow key left | right behavior differences also repeat.
      > >
      > > So, in summary:
      > > ============
      > > The UIs differ between the Starndard and Pro versions. They are annoying,
      > > not critical.
      > >
      > > Clip processing for the two versions are identical for ^!Select 0 | EOL |
      > > BOL and ^!MoveCursor + | - but different and potentially dangerous for
      > > ^!Keyboard Left | Right.
      > >
      > > NT Pro treats a CRLF pair as a single character in clips whereas NT Std
      > > sees them as two separate characters. Both UIs treat them as a single
      > > character.
      > >
      > > Nitty gritty cursor position clip programming is a b****h!
      > >
      > > This started out as a simple reply and grew into a major project! Aargh!!!
      > >
      > > Art
      > >
      > > PS - If you really want to see for yourself here is some test clip to play
      > > with:
      > > ;Testing Select to EOL differences in NTB Std vs NTB Pro
      > > ;Change comment chars as appropriate.
      > >
      > > ^!Jump Line_Start
      > > ^!Select EOL
      > > ; or
      > > ^!Jump Line_End
      > > ^!Select BOL
      > > ^!Continue Row:Col = ^$GetRow$:^$GetCol$
      > > ;^!Select 0
      > > ;^!MoveCursor -4
      > > ;^!MoveCursor +4
      > > ;^!Keyboard Left
      > > ;^!Keyboard Left
      > > ^!Keyboard Right
      > > ^!Keyboard Right
      > > ^!Continue Row:Col = ^$GetRow$:^$GetCol$
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.