Type {code
Select Code Block
Paste in
case HID_POV:
if(sval >= _StickElements[i].ref->min && sval <= _StickElements[i].ref->max)
{
It becomes:
case HID_POV:
if(sval >= _StickElements[i].ref->min && sval <= _StickElements[i].ref->max)
{
Extra lines are added, indentation is gone
Found part of the problem, copying code from Xcode the clipboard is in RTF. If I first paste into Aquamacs, then copy that text it is now plain text which can then be pasted into confluence retaining the lines and indentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.