News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Deactivate the overwrite mode

Started by pisco, December 07, 2009, 07:27:45 PM

Previous topic - Next topic

pisco

Hey
I like codeblocks very much ,but I have a big problem with the overwrite mode I activated inadvertently. Please can somebody explain me how to change this mode into insert mode?

I thank you in advance for your time and will be happy if you answer to my topic.

greetz pisco

Seronis

This isnt C::B specific but you hit the 'insert' key instead of the 'delete' key at some point.  That toggles insert mode.  Just press it again

pisco

#2
which is the insert or the delete key??? :shock:

greetz from Austria

Seronis

"insert" key toggles "insert" mode.

pisco

I think I get my wires crossed..... can you please tell me exact shortcut, because I do not want to start c::b again and  again

greetz


frithjofh

hi,

it's not a shortcut. normally you have a key labeled "Insert" on you keyboard. it is situated in the small block of keys above the arrow keys.

regards

nausea
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100

pisco

thx thx thx

have a nice evening
pisco

zabzonk

I'd be very happy if CB (and all other editing software) offered an option to completely disable toggling between insert and overwrite modes. I never, ever, ever want to use overwrite  mode in a text editor, and toggling it by mistake is far too easy.

killerbot

Quote from: zabzonk on December 07, 2009, 08:50:46 PM
I'd be very happy if CB (and all other editing software) offered an option to completely disable toggling between insert and overwrite modes. I never, ever, ever want to use overwrite  mode in a text editor, and toggling it by mistake is far too easy.

You know : how crazy this may sound : I completely agree.
That's indeed also something I never use, and only activate it by mistake.

ukimiku

And remove the CAPSLOCK key from the keyboard. Who needs it?

MortenMacFly

Quote from: ukimiku on December 07, 2009, 09:49:02 PM
And remove the CAPSLOCK key from the keyboard. Who needs it?
A little off-topic: You can do this (under Windows) easily with "keytweak" (http://webpages.charter.net/krumsick/). Works very nice, I usually map the chaps lock key simply to another usual "shift".
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

zabzonk

QuoteA little off-topic: You can do this (under Windows) easily with "keytweak"

Yes, I've tried this. Unfortunately I use two different keyboards with my dev machine, and switching between them doesn't seem to play too well with keytweak. I've also tried autohotkey, which plays better with the two keyboards, but has other issues.

Really, what is needed from the CB point of view is a fully configurable keyboard map, like that provided by VC++. In VC++ I simply map the Insert key to a macro that does nothing.

dmoore

For fun I did this:

EditorTweaks plugin


svn checkout http://svn.berlios.de/svnroot/repos/cbilplugin/branches/EditorTweaks


This version:
1/ insert key disabled in editor (will make an option in the future)
2/ option to toggle word wrap by right click in menu -> editor tweaks -> word wrap
3/ option to toggle line numbers by right click in menu -> editor tweaks -> show line numbers

on second thoughts, 2 and 3 should be in the edit menu. maybe in the next version...
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

Jenna

Quote from: dmoore on December 08, 2009, 10:32:43 PM
on second thoughts, 2 and 3 should be in the edit menu. maybe in the next version...

Do they not interfere with the checkboxes in "Settings -> Editor" ?
Or do you toggle the appropriate settings in the config-manager also ?

dmoore

Quote from: jens on December 08, 2009, 10:39:33 PM
Quote from: dmoore on December 08, 2009, 10:32:43 PM
on second thoughts, 2 and 3 should be in the edit menu. maybe in the next version...

Do they not interfere with the checkboxes in "Settings -> Editor" ?
Or do you toggle the appropriate settings in the config-manager also ?

these are transitory changes to the per editor settings. the settings->editor are still the defaults when you open/create a file. I haven't tested for nasty side effects :)
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]