Author Topic: Deactivate the overwrite mode  (Read 104509 times)

Offline pisco

  • Multiple posting newcomer
  • *
  • Posts: 10
Deactivate the overwrite mode
« on: December 07, 2009, 07:27:45 pm »
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

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Deactivate the overwrite mode
« Reply #1 on: December 07, 2009, 07:31:48 pm »
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

Offline pisco

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Deactivate the overwrite mode
« Reply #2 on: December 07, 2009, 07:36:50 pm »
which is the insert or the delete key??? :shock:

greetz from Austria
« Last Edit: December 07, 2009, 07:47:58 pm by pisco »

Offline Seronis

  • Almost regular
  • **
  • Posts: 197
Re: Deactivate the overwrite mode
« Reply #3 on: December 07, 2009, 07:55:05 pm »
"insert" key toggles "insert" mode.

Offline pisco

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Deactivate the overwrite mode
« Reply #4 on: December 07, 2009, 08:02:01 pm »
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


Offline frithjofh

  • Regular
  • ***
  • Posts: 376
Re: Deactivate the overwrite mode
« Reply #5 on: December 07, 2009, 08:18:00 pm »
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

Offline pisco

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Deactivate the overwrite mode
« Reply #6 on: December 07, 2009, 08:24:37 pm »
thx thx thx

have a nice evening
pisco

zabzonk

  • Guest
Re: Deactivate the overwrite mode
« Reply #7 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.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
Re: Deactivate the overwrite mode
« Reply #8 on: December 07, 2009, 09:32:12 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.

Offline ukimiku

  • Single posting newcomer
  • *
  • Posts: 8
Re: Deactivate the overwrite mode
« Reply #9 on: December 07, 2009, 09:49:02 pm »
And remove the CAPSLOCK key from the keyboard. Who needs it?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Deactivate the overwrite mode
« Reply #10 on: December 08, 2009, 07:04:46 am »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

zabzonk

  • Guest
Re: Deactivate the overwrite mode
« Reply #11 on: December 08, 2009, 10:45:49 am »
Quote
A 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.

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Deactivate the overwrite mode
« Reply #12 on: December 08, 2009, 10:32:43 pm »
For fun I did this:

EditorTweaks plugin

Code
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...

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Deactivate the overwrite mode
« Reply #13 on: December 08, 2009, 10:39:33 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 ?

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Deactivate the overwrite mode
« Reply #14 on: December 08, 2009, 10:40:53 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 :)