Jump to content

Lion09

Members
  • Content Count

    4
  • Joined

  • Last visited

Everything posted by Lion09

  1. I am working on maintaining a project in C++ Builder 11 and have some questions about the built-in editor's features I haven't figure out. 1- When I click on a line past the last character the cursor stays where I clicked instead of positioning to just after the last character on the line. If I start typing at that point it fills the intervening space with space characters which I guess is fine if I wanted to add a comment or something to the line. But even if I don't start typing, I still need to back space all the intervening spaces to get to the end of the line (or try more accurate re-clicking). Every other editor I have used puts the cursor after the last character when you click on a line past that last character. I found an option for 'Cursor beyond EOF' which allows placing the cursor beyond the last line of the file in a similar way but not any related setting for 'Cursor beyond EOL' that I can turn off. Are there hidden settings? 2- Any way to move the entire current line your cursor is on up or down a line like Alt+Arrow Up or Alt+Arrow Down in VS Code? 3- Multi-cursor? With Alt key held down to click in multiple spots to insert multiple cursors to type in the same text at each spot? 4- Multi-select? Highlight some text then Ctl+D to find and also select the next match? Repeat as needed and type over all of them at once. Those are mainly from VS Code but also in other editors I have used. 5- Can you create custom key mappings to override the defaults? Could only find wholesale key mapping sets in the options not individual ones. One reason is that I am VNC-ing to the Windows machine from a Mac for some of this work and don't have certain keys like End or Home so want to map different key combos for things like Alt+Shift+End to select from the cursor to the end of line. Basically I have a lot of editing to do with some legacy code and am finding the editor is slowing me down. I tried to find a way to integrate an external editor but at this time the best I have found is right-clicking the files in the Project Explorer to show it in Windows Explorer then right-click the file to Open with VS Code (or UltraEdit). Then when I save the file from those editors I have to deal with confirming the message in C++ Builder about date/time for the file changing and reloading it. A bit cumbersome and potentially error prone so would like to find a way to stay within the IDE and have a better editing experience, any suggestions much appreciated. Thanks- Jay C++ Builder 11 Alexandria
  2. Lion09

    C++ Builder Editor Questions

    Thanks, I kind of figured as much. I have decided for now to use an external editor since most of the current work is refactoring and code cleanup that doesn't need IDE features.
  3. Lion09

    C++ Builder Editor Questions

    Thanks for the suggestion. I took a look through the MMX site and would be a bit concerned about installing a large Delphi refactoring tool into C++ Builder for just a single editing feature! It looks like it entirely replaces or wraps the native editor? The videos and screenshots on their site look like they are from earlier versions of RAD Studio so is hard to tell. But if that is the case, it might mean the editor can be be scripted to add features? Or at least that integrating another custom editor in to the IDE is possible? Probably not going to get into that myself for this particular project but points to some possibilities.
  4. Lion09

    C++ Builder Editor Questions

    Thanks Lachlan, I will check out your suggestions and research further. I had been thinking third party or Windows extensions might help and this gives me a start. I am still baffled by 1 as my habit from every other editor or word processor is to click anywhere to the right of the line continue typing from the last character on that line, even this comment editor works that way! I may even file a bug or feature report with Embarcadero over it to see what I get back from them. Thanks again- Jay C++ Builder 11 Alexandria
×