| View previous topic :: View next topic |
| Author |
Message |
anestikas General User

Joined: 10 May 2008 Posts: 43
|
Posted: Tue May 27, 2008 4:19 am Post subject: Formatting the carret position |
|
|
Is it possible to change the formatting of the position of the caret?
For example if i have the word HELLO which is red and the caret is right after the word. Then, if I change the color to blue and continue typing, the characters are still red..!
Now I have to type a letter, select it, change the color to blue, put the caret after the letter and continue typing...
Is this normal? |
|
| Back to top |
|
 |
jrkrideau Super User

Joined: 08 Aug 2005 Posts: 6733 Location: Kingston ON Canada
|
Posted: Tue May 27, 2008 4:37 am Post subject: Re: Formatting the carret position |
|
|
| anestikas wrote: | Is it possible to change the formatting of the position of the caret?
For example if i have the word HELLO which is red and the caret is right after the word. Then, if I change the color to blue and continue typing, the characters are still red..!
Now I have to type a letter, select it, change the color to blue, put the caret after the letter and continue typing...
Is this normal? |
I am not sure that I understand this. You have text Hello in red but what is the caret? To me a caret is ^ .
So do you have something like Hello ^ ?
Also how are you assigning the colours? It sounds like you may be doing if from the tool bar. In that case do need to select the text.
It would be easier, and better OOo practice to set up two characater Styles, one with red font and one witih blue font and apply them as needed.
A _________________ jrkrideau
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2 |
|
| Back to top |
|
 |
anestikas General User

Joined: 10 May 2008 Posts: 43
|
Posted: Tue May 27, 2008 4:59 am Post subject: |
|
|
The caret is:
| Quote: | | The term caret is also sometimes used in graphical user interface terminology where it means a text insertion point indicator, frequently represented by a blinking vertical bar. In this context, it may be used interchangeably with the word cursor, although the latter term is often reserved for a mouse pointer. [wikipedia] |
Actually I need this functionality because I use openoffice programmatically (in Java).
Nevertheless, you are right I was using the tool bar.
| Quote: |
It would be easier, and better OOo practice to set up two characater Styles, one with red font and one witih blue font and apply them as needed. |
You are probably right but it's not what I need.
| Quote: | | In that case do need to select the text. |
Ok, if there is no other way, I'll see what I can do.
Thank you |
|
| Back to top |
|
 |
jrkrideau Super User

Joined: 08 Aug 2005 Posts: 6733 Location: Kingston ON Canada
|
Posted: Wed May 28, 2008 9:52 am Post subject: |
|
|
| anestikas wrote: | The caret is:
| Quote: | | The term caret is also sometimes used in graphical user interface terminology where it means a text insertion point indicator, frequently represented by a blinking vertical bar. In this context, it may be used interchangeably with the word cursor, although the latter term is often reserved for a mouse pointer. [wikipedia] |
Actually I need this functionality because I use openoffice programmatically (in Java).
Nevertheless, you are right I was using the tool bar.
| Quote: |
It would be easier, and better OOo practice to set up two characater Styles, one with red font and one witih blue font and apply them as needed. |
You are probably right but it's not what I need.
| Quote: | | In that case do need to select the text. |
Ok, if there is no other way, I'll see what I can do.
Thank you |
Aha, The old proof-reader's carot. I have not seen that in quite a while.
Out of curiosity, if you're formatting using the toolbar why will a Style not work? _________________ jrkrideau
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2 |
|
| Back to top |
|
 |
anestikas General User

Joined: 10 May 2008 Posts: 43
|
Posted: Wed May 28, 2008 2:21 pm Post subject: |
|
|
| Quote: | | Out of curiosity, if you're formatting using the toolbar why will a Style not work? |
a) I don't know how to do it programmatically
b) My program requires that the caret position is colored
and c) I worked around the problem I had, so there is no point in doing this...  |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|