mariarahat / bungeni-editor

Automatically exported from code.google.com/p/bungeni-editor
2 stars 0 forks source link

Enable section markup tools even when text is not selected #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently markup tools in the editor are enabled only upon selection of
text within a section.

To do :

When the cursor is placed in a section, change the color of the available
actions (whether selection actions or not) to indicate possible actions.
Upon selection of text the color is changed again to enable 'activation' of
the action.

Original issue reported on code.google.com by ashok.ha...@gmail.com on 21 Jan 2009 at 8:13

GoogleCodeExporter commented 9 years ago
current action conditon setup is as follows :

cursorInSection:section_name :and: textSelected:true

change this to just :

cursorInSection:section_name 

Note : cursorInSection will evaluate to true even if text has been selected 
spanning
section boundaries. e.g. if you have selected text in section1 stretching to
section2... perhaps a boundary check is needed for the cursorInSection: action 
evaluator

Original comment by ashok.ha...@gmail.com on 18 Feb 2009 at 3:58

GoogleCodeExporter commented 9 years ago

Original comment by ashok.ha...@gmail.com on 8 Mar 2010 at 6:14