News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

BUG: Paste and CodeCompletion does not replace all occurrences

Started by darksquall57, March 28, 2014, 09:09:43 AM

Previous topic - Next topic

darksquall57

Hi everyone,

I just noticed that, when using the "select next occurence" shortcut (CTRL+E) and then pasting or using code completion, it only replaces the last selected occurences instead all of them.

oBFusCATed

This is a limitation of scintilla I've not found time to fix.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ollydbg

Quote from: darksquall57 on March 28, 2014, 09:09:43 AM
Hi everyone,

I just noticed that, when using the "select next occurence" shortcut (CTRL+E) and then pasting or using code completion, it only replaces the last selected occurences instead all of them.

Not fully understand you problem, but I don't think it is related to CodeCompletion plugin.
As OBF said, it is related to Scintilla control.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.