Move to real beginning / end of a long soft wrapped line

Move to real beginning / end of a long soft wrapped line

5

    Feb 27, 2013#1

    Hi!

    If I have a lline of text that wraps I'd like to use the HOME and END keys to move to the beginning and end of the wrapped line, not the first or last columns. Is this possible?

    6,675585
    Grand MasterGrand Master
    6,675585

      Feb 27, 2013#2

      On Windows it is standard that Home sets caret to beginning of currently displayed line independent of real beginning of a line (or paragraph) and key End sets caret at end of currently displayed line.

      There is only the configuration setting Home key always goes to column 1 at Advanced - Configuration - Editor - Miscellaneous for controlling if Home sets caret always to column 1 or to first non whitespace character in line except the caret is already at first non whitespace character of the displayed line.

      There are the keys Alt+Left to move caret to beginning of previous paragraph and Alt+Right to move caret to beginning of next paragraph. A paragraph in UltraEdit is a sequence of lines delimited by 1 or more blank lines.

      If you want to move caret to real beginning or end of a very long and therefore wrapped line by hotkey, you need to define 2 macros stored together into 1 macro file which is configured to be automatically loaded at startup of UltraEdit.

      Macro LineHome

      UltraEditReOn
      Find RegExp Up "%"



      Macro LineEnd

      UltraEditReOn
      Find RegExp "$"



      You can use for both macros also PerlReOn instead of UltraEditReOn and use "^" as search string for LineHome. Which hotkeys you assign to these 2 macros is up to you.