Multi style conversion
Posted: Tue Jun 10, 2014 4:53 pm
How can I solve this problem easy:
I have to sets of styles:
style 0..4 is normal
style 5..9 are the same styles but with an other color
User marks a text that contains different styles, e.g. normal bold and italic (set 0..4) if he releases the mouse the whole marked text should be converted. E.g. 0 > 5 (normal), 1 > 6 (bold) and 2 > 7 (italic)
thank you
Martin
I have to sets of styles:
style 0..4 is normal
style 5..9 are the same styles but with an other color
User marks a text that contains different styles, e.g. normal bold and italic (set 0..4) if he releases the mouse the whole marked text should be converted. E.g. 0 > 5 (normal), 1 > 6 (bold) and 2 > 7 (italic)
thank you
Martin