Is there any way to insert a line break using a Highlighting style?
I sometimes use Highlighting styles to fix/update the text in my resources. For example, this table of popes in Chronological and Background Charts of Church History, Revised Edition (published in 2018) is unconscionably missing Pope Francis, so I added him in by creating a highlighting style that inserts the text you see in red, and I applied it to the text "2005" which I'd selected.
But in this case (and others), I would like to force a line break in there, before Francis. Is there a way to do this currently, e.g., by using some special escape character or something? (Like in Word, where you can use special characters such as ^l or ^p in the "Replace with" field when searching/replacing text, and that will insert a line break character or a paragraph break.)
If it's not possible, I'm going to propose it as a requested feature enhancement.
Comments
-
The necessary code is in a style called "newline" in Emphasis Markup ... I remember having to muck around a bit to insert it in other palettes.
If it's not possible, I'm going to propose it as a requested feature enhancement.
please do - it is currently a pain ... even if I don't remember the details of the pain, I remember the frustration.
Orthodox Bishop Alfeyev: "To be a theologian means to have experience of a personal encounter with God through prayer and worship."; Orthodox proverb: "We know where the Church is, we do not know where it is not."
0 -
The necessary code is in a style called "newline" in Emphasis Markup ... I remember having to muck around a bit to insert it in other palettes.
If it's not possible, I'm going to propose it as a requested feature enhancement.
please do - it is currently a pain ... even if I don't remember the details of the pain, I remember the frustration.
Oh, thank you! That means they do have that capability and just need to expose it in the UI.
Unfortunately, applying "Newline Before and After" style to my cobbled together insert of Pope Francis I doesn't work. You cannot apply a highlighting style to some inserted text. The closest I could come was applying "Newline..." to the "–)" at the end of the Benedict XVI line, and then applying a custom style to insert "Francis I (2013" before the "–)".
But then I can't apply another custom style to add "–2013)" after "2005". It causes the previously inserted newline to move from before Francis to after Francis's 2013:
I think that's possibly a bug. But it's a very convoluted way to do what I want anyway, so I don't care about them fixing a bug in it. I just want them to make a way for us to include newline characters in our "inserted text".
0 -
Here's the feature request. Please vote for it.
Create away to put newline characters in "inserted text" in Highlighting styles
0 -
Unfortunately, applying "Newline Before and After" style to my cobbled together insert of Pope Francis I doesn't work.
The trick here is to do the following:
- copy the Emphasis Markup palette
- copy the Newline Before And After style
- edit the new style to include your desired text with the line break at the desired spot in your added text
- move the style to whatever palette you want
Andrew Batishko | Logos software developer
0 -
Unfortunately, applying "Newline Before and After" style to my cobbled together insert of Pope Francis I doesn't work.
The trick here is to do the following:
- copy the Emphasis Markup palette
- copy the Newline Before And After style
- edit the new style to include your desired text with the line break at the desired spot in your added text
- move the style to whatever palette you want
Sounds like a good trick, but it doesn't work. The copied "Newline Before and After" style doesn't have a line break in it that I can place text before and after.
0 -
he copied "Newline Before and After" style doesn't have a line break in it that I can place text before and after.
What happens when you select the entire text in the Text Before and Text After boxes? There should be two lines there. There's not visible "line break marker". It's just that there are two blank lines in the edit box.
Note that taller than normal edit boxes and lack of hint text compared to Text Above/Below.
Andrew Batishko | Logos software developer
0 -
he copied "Newline Before and After" style doesn't have a line break in it that I can place text before and after.
What happens when you select the entire text in the Text Before and Text After boxes? There should be two lines there. There's not visible "line break marker". It's just that there are two blank lines in the edit box.
Note that taller than normal edit boxes and lack of hint text compared to Text Above/Below.
Well, that works. But wow, that's a convoluted way to do what I wanted to do, it's undocumented, and nobody would be able to discover it by experimentation. Any hope of getting a visible escape character that we can insert on our own to accomplish the same thing in one step?
0 -
Any hope of getting a visible escape character that we can insert on our own to accomplish the same thing in one step?
[Y]
0