* * *

Author Topic: A suggestion for Source Editor:  (Read 1451 times)

Elmug

  • Hero Member
  • *****
  • Posts: 565
A suggestion for Source Editor:
« on: July 20, 2011, 12:26:18 am »
Wouldn't it be so much more practical if the Search/Edit and File functions that have to do with editing code were part of the Source Editor window?

That way when we use the editor in a 2 monitor window one does not have to twist the neck so much and have to go to the pane that now contains those functions? It'd be like most editors are nowdays (self serving).

And even if one only uses one pc screen, I still believe as suggested would be more practical.

Thanks!
« Last Edit: July 20, 2011, 12:27:58 am by Elmug »

Martin_fr

  • Hero Member
  • *****
  • Posts: 1218
Re: A suggestion for Source Editor:
« Reply #1 on: July 20, 2011, 12:54:59 am »
Personally, I don't think so... And i do use 2 screens, and I do have my main menu on the one and all my src-edit on the other screen.
Then again I have key-shortcuts for everything...


But my personal opinion aside:

- there is a context/popup menu, it does not have all, but many of the functions.

- There is a package "EditorToolbar" which you can install. It's not a menu, but you can add toolbuttons for almost any command reachable in the menu.


-------
BTW, I was recently forced to look at Microsoft, they display the current line/column always on the main window, even if you edit in an undocked window on the other screen => that is real bad.

Elmug

  • Hero Member
  • *****
  • Posts: 565
Re: A suggestion for Source Editor:
« Reply #2 on: July 26, 2011, 12:47:25 am »
Hi Martin,

You are right in that when learning the shortcuts I will not miss the drop down menus from the main screen.

Thanks.

Martin_fr

  • Hero Member
  • *****
  • Posts: 1218
Re: A suggestion for Source Editor:
« Reply #3 on: July 26, 2011, 01:20:52 am »
btw,
if you search, try ctrl-e and then start typing the first few letters of the word you look for.

Elmug

  • Hero Member
  • *****
  • Posts: 565
Re: A suggestion for Source Editor:
« Reply #4 on: July 26, 2011, 02:08:08 am »
Thanks Martin.

Ctrl-E brings me to the Find facility.

One thing that still bothers me quite often, in the search is this:

F3 which was supposed to be Find-Next, for me it actually DELETES LINES!!


The first time I did this I did not notice, and thought the F3 was moving me to a new place, and so kept kitting F3 and thus deleting a lot of code.

I still have not figured out why this is so, and that's a potential hazzard for the code.

I wonder if there are any suggestions?

Thanks.

Martin_fr

  • Hero Member
  • *****
  • Posts: 1218
Re: A suggestion for Source Editor:
« Reply #5 on: July 26, 2011, 12:06:50 pm »
Ok, what OS do you have?  (Win, Mac, Linux?)
How is it localized?
What language is your PC set to?
do you use a special keyboard layout?
and what version of Lazarus? (help/About)

- In Lazarus open the option dialog (Tools menu, or environment menu).
- In the tree on the left select: "Editor" / "Keymap"
- Press "load a scheme" => select "lazarus default"

You can also change individual shortcuts, if you whish.

Btw: Ctrl-E should do "incremental search" => no search widow; but you type into the status bar; it should search while you type.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads