and associated with each keyword, font formatting, including colors
I use this for writing screenplays, it just helps me a lot with legibility if I can have each characters name appear as a unique color
bonus points for include line / paragraph options as well. For example if I type:
CHARACTER
dialog dialog dialog
and the character keyword is registered to be colored pink and “entire line” is true, then all the dialog will be highlighted pink as well.
I am aware of the dialog focus feature in scriv3 - this is more of a way to make jumping around a big screenplay just a little easier to focus on, but i also think it probably has some broad applicability people may find many uses for.
if there is any way to accomplish this with python or xml or something already i’d love any hints.
another simpler possibility might be a “select all occurences” which you can then use to do a ctrl_shift_c on.
Just wanted to update this because with a little more experimentation I found a way to accomplish what I desired using what is already present in the editor.
Okay, pretty simple:
When writing a screenplay the colors don’t do anything for me, but when editing I just find it much easier to get through with some color coding like this. I can jump around a long document quickly and keep my focus better.
Workflow is that I make a file with colors set up for each character name and then can copy paste over into my working file, and from there duplicate the lines as needed.
The way scriveners text colors seem to work is that it continues using the same color until a new color is defined. This is perfect for me because it handles line breaks - something I wasn’t able to accomplish in text editors like VS Code.
Still, syntax highlighting would be neat, though I wanted to share this alternative just in case anybody finds this via search in the future