Nikos Chantziaras <realnc <at> arcor.de> writes:

> 
> When inserting a program listing, all "-" characters in the source code 
> are converted to long dashes.  This results in the C operator "--" 
> looking more like a single long line rather than two dashes.  (There is 
> some space between each dash, but it's so small it only becomes obvious 
> when zooming in.)
> 
> Is there a way around this?

The only way I know is a PITA.  Pick an escape character you will not use in the
listing (I'll use a tilde for explanatory purposes).  Right click the listing,
select Settings, and in the Advanced tab type 'escapechar=~' (without the
quotes) and apply the change. Now whenever you want the decrement operator in
the listing, type '~-\,-\,~' (without the quotes).  The \, is a thin space; you
can play around with alternative spacing if you like.

/Paul


Reply via email to