Bug #18951 2013-03-27 17:03

kmdv

Abbreviation line feeds

The problem is simple. Whenever I make a multiline abbreviation (even a very simple one, without any substitution variables) the code blocks editor inserts addition line feeds when I use this abbreviation.

E.g., for the following abbreviation:

using std::begin;

using std::end;

using std::swap;

This is inserted in the editor:

using std::begin;

using std::end;

using std::swap;

Additional line feeds are inserted for no reason, and the problem disappears if I restart the code blocks. In other words, whenever I want a multiline abbreviation, I have to restart the IDE.

In addition, I still encounter this bug (which is marked as closed):

https://developer.berlios.de/bugs/?func=detailbug&bug_id=18833&group_id=5358

Which appears _after_ I restart the IDE. In this case, the abbreviation is corrupted in the settings and looks like this (after IDE restart):

///

eturn `*this`

Instead of:

/// \return `*this`

I'm using stable version: Nov 25 2012, rev 8629. I could not find a more recent nightly build in the forums.

Category
Application::Editor
Group
Platform:Windows
Status
Closed
Close date
2013-04-13 22:53
Assigned to
alpha0010
kmdv 2013-03-27 17:13

As to the first one, my files are UTF-8 with \r\n line feeds.

As to the second bug, I didn't pay attention to its submission date...

alpha0010 2013-03-27 19:36

Unfortunately, this was fixed in rev 8668, and so did not make it into the stable release.

To take advantage of the fix, you will need to build the trunk from source.