Hello all, as stated in the title I would like to select different parts of text from a text object at the same time. That is, I would like to have say, the first one of each paragraph highlighted and ready for to edit, along with a sentence in the middle, along with maybe another word at the end of a paragraph.
What I am wanting to achieve is to do some code highlighting using different colors. Doing this for each word separately is a time-consuming process, as I have to select a piece of text, travel down with the mouse to set the fill color and then repeat this for the next piece of text.
I use VSCode and it has a feature that allows you highlight multiple parts of text by holding the 'Alt' key and then selecting more text. Once all the text parts are selected, you can edit them all at once. I know that Inkscape is not a text editing program. I'm just hoping that it could be done. And if not, would it be a feature that might be possible to develop. Thanks for reading. New here. I love the program and I'm keen to learn it and use it more. Thanks again.
Hello. My suggestion is to create your text(s) then convert them all to Paths, Ungroup them so they become individual characters. Then select those characters which are needed and change their colors to what you want, union them unto a single path. Do this for every desired special color. Then those that remain can be set to your desired color. And of course, you can set up individual groups, or select them all as a single group, once you have set up the colors you wish.
Thanks for the help guys 8) I will consider trying the converting to paths, ungrouping and grouping technique... it might be a lot of work for the amount of text I had in mind. Hopefully it could become a feature in the future... thanks again.
@ken10001000 Ken, do you think you could give me more info on how to achieve your solution. I have selected the whole text object and tried Path > Object to Path from the menu. It doesn't seem to work as I expected. I was expecting to see the letters shimmering (if you will) with the outline of the paths... I'm quite new to Inkscape btw. 8S
Hi, SaltedCashews. You will not be able to "highlight" them per se. Rather, once they are Converted, and then Ungrouped, you can select the characters individually and re-color them ... or, by selecting a character and holding the Shift key at the same time, you can choose many other characters (either nearby or not) and then change the color of all of them at once. See the few screenshots below and look into the attached svg file.
Thanks Ken. For the very thorough directions. I think where I tripped up was that after I converted the text object to path. That I didn't notice a change that suggested the action had been completed. Still finding my feet haha. Thanks.
Hello all, as stated in the title I would like to select different parts of text from a text object at the same time. That is, I would like to have say, the first one of each paragraph highlighted and ready for to edit, along with a sentence in the middle, along with maybe another word at the end of a paragraph.
I know that Inkscape is not a text editing program. I'm just hoping that it could be done. And if not, would it be a feature that might be possible to develop. Thanks for reading. New here. I love the program and I'm keen to learn it and use it more. Thanks again.
What I am wanting to achieve is to do some code highlighting using different colors. Doing this for each word separately is a time-consuming process, as I have to select a piece of text, travel down with the mouse to set the fill color and then repeat this for the next piece of text.
I use VSCode and it has a feature that allows you highlight multiple parts of text by holding the 'Alt' key and then selecting more text. Once all the text parts are selected, you can edit them all at once.
Hello. My suggestion is to create your text(s) then convert them all to Paths, Ungroup them so they become individual characters. Then select those characters which are needed and change their colors to what you want, union them unto a single path. Do this for every desired special color. Then those that remain can be set to your desired color. And of course, you can set up individual groups, or select them all as a single group, once you have set up the colors you wish.
While text or glyphs can have individual attributes several selections at once like in a text editor isn´t possible yet:
Thanks for the help guys 8)
I will consider trying the converting to paths, ungrouping and grouping technique... it might be a lot of work for the amount of text I had in mind. Hopefully it could become a feature in the future... thanks again.
@ken10001000 Ken, do you think you could give me more info on how to achieve your solution. I have selected the whole text object and tried Path > Object to Path from the menu. It doesn't seem to work as I expected. I was expecting to see the letters shimmering (if you will) with the outline of the paths... I'm quite new to Inkscape btw. 8S
This will generate a group of paths - either "ungroup" to keep them loose or group again what you need to.
Hi, SaltedCashews. You will not be able to "highlight" them per se. Rather, once they are Converted, and then Ungrouped, you can select the characters individually and re-color them ... or, by selecting a character and holding the Shift key at the same time, you can choose many other characters (either nearby or not) and then change the color of all of them at once. See the few screenshots below and look into the attached svg file.
Thanks Ken. For the very thorough directions. I think where I tripped up was that after I converted the text object to path. That I didn't notice a change that suggested the action had been completed. Still finding my feet haha. Thanks.
You are welcome. Sometimes I find the best "step" for me to take is to un-do my "last step". I call it the re-do shuffle. :)