Code line continuation arrow

I'm entering some code lines in a LO Writer document. The lines are long
and wrap around and I'm looking for the special character 'curved arrow'
that is used to indicate that it's a continuation line and not a new
line of code. I don't see it in the Special Characters table. Does
anyone know if there's a way to insert this character?

Or even better, if there's some macro of something that will insert it
wherever the line of code happens to break, depending on how the
document is otherwise formatted?

Thanks.

I'm entering some code lines in a LO Writer document. The lines are long
and wrap around and I'm looking for the special character 'curved arrow'
that is used to indicate that it's a continuation line and not a new
line of code. I don't see it in the Special Characters table. Does
anyone know if there's a way to insert this character?

There's this Unicode character: http://unicode-table.com/en/2938/
There are other possibilities at http://unicode-table.com/en/sets/arrows-symbols/

I don't know offhand what fonts support this.

Or even better, if there's some macro of something that will insert it
wherever the line of code happens to break, depending on how the
document is otherwise formatted?

I don't know about this.

I'm entering some code lines in a LO Writer document. The lines are long and wrap around and I'm looking for the special character 'curved arrow' that is used to indicate that it's a continuation line and not a new line of code. I don't see it in the Special Characters table.

The first thing to realise is that what you see in this table is font-dependent: you will find more possibilities in some fonts than others. On my Windows system, for example, I find the DejaVu fonts include more characters than most.

Does anyone know if there's a way to insert this character?

Try these Unicode characters:
21A9: Leftwards arrow with hook
21B2: Downwards arrow with tip leftwards
21B5: Downwards arrow with corner leftwards
2936: Arrow pointing downwards then curving leftwards
2938: Right-side arc clockwise arrow

Note that you need to pay attention to whether any such characters will be rendered properly in a word processor document on any other system, no matter how similar. You may have more success by exporting your document as PDF and distributing that.

I trust this helps.

Brian Barker

That's close enough. Thanks.

I find I can copy the character from the link above http://unicode-table.com/en/2938/
and paste it into a document and it saves. I can't insert it as a character but can copy and paste it to other lines.
Steve

Hi :slight_smile:
Does Writer do colour-coding of the various different types of code? I
usually use a text-editor such as Gedit, Kate or SciTe or something to get
all of that.
Regards from
Tom :slight_smile: