I was going away like a madman just now, writing for() loops when suddenly i hit a key by mistake which created a pre-made for() loop for me. What was that and how do i repeat it? O_o
I was going away like a madman just now, writing for() loops when suddenly i hit a key by mistake which created a pre-made for() loop for me. What was that and how do i repeat it? O_o
no idea !
maybe it's a feature of the scintilla control ??
maybe you hit ctrl+V ?![]()
lolno it wasn't ctrl + v.
This thing created a for loop with markers and stuff to fill in appropriate values. It seemed like a very handy feature.
While testing around i found these commands:
CTRL+F - Find and replace
CTRL+G - Go to line
CTRL+J - Some kind of preset-generator. Chose from a list of precreated stuff
CTRL+I - Find
CTRL+Q - All selected code is turned into a comment
CTRL+M - This is likely some kind of macro recorder
CTRL+J is almost like the feature i found, but it requires a list. This thing seemed like an auto complete, as it created a template for a for-loop i was writing at that moment.
Wow, these are features of the Scintilla control, I didn't know about them.
Nope, Scintilla.NET... :P
The pre-made for loop like the one i found can be created by using CTRL+J and then chosing "f" from the drop-down menu. This is not the button i managed to press by accident, though, as that was more of an auto-complete. The result seems identical, though.