Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Margins and Caret issue

(1/3) > >>

stefanos_:
OS: Linux Debian testing (jessie)
GUI framework: wxGTK-2.8.12
C::B revision: 9128
GCC: 4.7.3 32-bit

I think I might have discover a bug with margins and caret settings in editor. I went to Settings > Editor > Margins and caret, and checked "Allow multiple selections..." and "Enable typing (and deleting)...".

I select the lines of my choice with Ctrl and mouse, I can see my cursor making a last cursor line along column. Then I press Ctrl-shift-arrows (left or right) to highlight the keyword I would like to replace and instead of highlight all keywords under cursor, it would select only the keyword from last cursor. If I press delete, it would delete selectively than collectively, that is as a whole. Also, as I type and auto complete pops up with an option, if I press the tab key, it won't add it in all cursors, but only to the last pointed cursor.

I will try to make a small video to show you what I mean.

oBFusCATed:

--- Quote from: ToApolytoXaos on June 09, 2013, 04:25:50 pm ---I will try to make a small video to show you what I mean.

--- End quote ---
No need, just test in Scite and if doesn't work there then report on the scintilla bug tracker or mailing list.
The code completion issue is know problem by the scintilla devs and they don't intend to fix it, because
there is no clear way to implement it. Probably we should try something, but I have no time at the moment.

stefanos_:
OK, cheers. I will disable it then. I got inspired by other editors which to such thing and found it extremely useful.

Oh well, maybe we could do something about it :)

oBFusCATed:
Why would you disable it? It has some limitations, but it is pretty useful for editing common code.
Especially if you use the Edit -> Select next occurrence and Edit -> Select skip to next occurrence :)

If you have time you can try to fix some of the issues and post patches either here or to Scintilla devs.

stefanos_:
HAHAHAH :D your suggestion is buggy! I highlight the keyword of my choice, press Ctrl-Shift-E to skip to the next occurrence and start typing a new string name and it adds it nested in itself next to header file on the first line.

Don't tell me it's Scintilla's problem..AGAIN! :D hahaha this is hilarious!

Navigation

[0] Message Index

[#] Next page

Go to full version