Retain cursor position after macro expansion

Donate to this project

Development Project Status: Completed

Total cost estimate (ex-Tax): 
$850
Due date for completion of this stage: 
27/07/2013
Release: 
1.7
Current Percentage Funded: 
100.00%
Project funding: 

Public pledges can be made to this forum topic or email me directly by clicking here (link only works in the forum).
Development will not commence until fully funded.

Project 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 project 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 psition 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.

JIRA: OVPMS-1349

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Retain cursor position after macro expansion

This sounds great. Can we please get it costed.

Re: Retain cursor position after macro expansion

Hi,

We will fund 50% of this....

Cheers,

Adrian

Re: Retain cursor position after macro expansion

Hi, 

 

I will fund the other half of this - it will make a great difference when I am using macros. 

 

Sam 

Syndicate content