Uploaded image for project: 'VPMS Web Application'
  1. OVPMS-1349

Retain cursor position after macro expansion

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 1.6
    • Fix versions: 1.7
    • Components: User Interface
    • Labels:
      None
    • Sprint:

      Description

      When macros are expanded, the cursor jumps to the end of the text. This is annoying if the macro is inserted into the middle of the text, as the cursor must then be moved back, either with the keys or by mouse.

      This JIRA will extend the javascript text field components so that they:

      • track the cursor position
      • enable the cursor position to be set

      This can be used to move the cursor position back to where it was, prior to macro expansion. If the cursor was at the end of a macro, then it will be moved to the end of the macro expansion.

      Note that web browsers don't handle cursor positioning in the same manner. This project will initially support Firefox, Chrome and Safari.

        Attachments

          Activity

            People

            • Assignee:
              tanderson Tim Anderson
              Reporter:
              tanderson Tim Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 8h
                8h

                  Who's Looking?