RAD Studio XE8 behave strange - delphi

I am using RAD Studio XE8 i have a strange issue when press enter the text line in IDE is not moving to next line or when i press the spacebar it starts to remove the text followed by the space.

You are in overwrite mode. This can be discerned both from the behaviour you describe and that "overwrite" is written In the status bar underneath the edit window.
In overwrite mode, text that you type overwrites the existing text at the cursor. In insert mode, typing inserts the text before the cursor.
Press the INS key to toggle between overwrite and insert modes.
This behaviour is typical of any text editing program. You will find the same behaviour in other IDEs, in text editors, in word processors and so on.

This is not limited to Delphi XE8, but you have pressed the insert key on your keyboard.
The solution is to press it again to toggle the insert state.

Related

Issue with Delphi Menu

I am Using RAD Studio 2010 and I have problem in Menu text
There are Z and Y texts in my menu and I want to remove it
This will happen when I use Non English text
This is because of TMainMenu.AutoHotkeys. By default, the value of this property is maAutomatic, which means that the menu will automatically choose accelerator keys for your menu items.
For instance, in a typical English application, you might get a menu like this:
Notice the underlined characters. These are used to access the menu using the keyboard. For instance, to open the File menu, I can press Alt+F. And once the File menu is open, I can press the key corresponding to the underlined character in the caption of the menu item I wish to invoke.
For keyboard users like myself, such accelerators are extremely important. I use them all the time. I could use the mouse instead, but that would slow me down tremendously. (For instance, in the application in the screenshot, I am very used to press Alt+E, O to open the Sort Lines dialog box. That takes about 0.2 seconds. If I had to use the mouse, it would take much longer!)
Now, in your case, there aren't any Latin letters to underline, so instead the RTL adds these parentheses (with the Latin letter being the accelerator), so you still can access the menus using the keyboard.
I have very little experience with non-Latin-based versions of Windows, but I do believe menus like these are standard. If I were a Chinese or Arabic user (for instance), I think I would refuse to use an application without these. If I cannot access GUI menus and controls with the keyboard, I get really annoyed.
Still, if you insist, you can set AutoHotkeys to maManual.

Replace selected found text in Delphi 10 RAD Studio editor

Requirements:
We have a text in Delphi RAD Studio editor and this text has been selected as a search result.
What happens
On any change (Del button or typing some text) changes are applied to the right of selection.
Expected
On any change (Del button or typing some text) the selected block is deleted and then the changes are applied.
Question
How?
The behaviour that you describe is simply how the IDE's search functionality is intended to work. You are expecting that when you search for text, the IDE will select occurrences of that text. However, it instead highlights occurrences.
There is no way (to the best of my knowledge) to alter this behaviour, short of writing an IDE plugin to implement your own search functionality.
To resolve this, use Ctrl + R.

Delphi XE7 IDE replaces my text as I type

Hi guys I have a big problem
Somehow I must have set the Delphi XE7 IDE to replace my next text as I type for example:
if I have typed StToInt into the IDE (Which is obviously wrong), then put my curser after the first t and then press r the IDE will now show StroInt (replaces the T with the r) an not StrToInt
it does this with all my text
How do I set this back to normal?
Please help, it will be greatly appreciated.
Press the Ins key on your keyboard to toggle between insert and overwrite mode.
Note that the status bar at the bottom of the IDE editor window displays either Insert or Overwrite depending which mode is currently active.

Using Unicode characters with Delphi XE2

I'm looking at converting one of our applications to Delphi XE2 and generally take the opportunity to bring it up to date.
One of the features of the application is a StringGrid that displays a number of check marks in a couple of columns. To achieve this the grid is actually 2 aligned grids - the second of which is setup with the font as Wingdings in order to display the check marks.
Am I wrong in thinking that I should be able to use something like a TListView and use the checkmark char (U+2713) alongside the rest of the text... If so how the heck do I do this?
Do I need to set the font to Wingdings for that column? Does this need to be in OnDraw?
Am I barking up the wrong tree...
File->New->VCL Forms application
In the Component Palette, expand the Win32 tab and choose TListView, and drop it on the form.
Right-click the newly added TreeView1, and choose Items Editor... from the context menu.
Click New Item. Type in any text (for instance x Testing, using the 'x' as a placeholder for now).
Start the Windows Character Map application (Start button, type Chara in the search box, or Start->Programs->Accessories->Character Map). Change the font to Arial Unicode MS, and navigate to the character you want (it's in there).
Click the character, and then the Copy button. Switch back to the IDE, select the x placeholder you put in the edit, and hit Ctrl+V to paste the character you just chose from Character Map. You should now see your check mark (or whatever character you chose), followed by Testing.
(The steps above are the two-minute process I followed to find out how to do this, and that quick experiment showed that you could.)

Does RubyMine have TextMate-style multiple line editing?

Is there a shortcut key for editing multiple lines in RubyMine (Windows) as you can do with TextMate? I've seen it in TextMate where you can highlight multiple lines, and press a key code, then start typing. All text you type will appear at the end of all of the highlighted lines. I would love to do this with RubyMine as well.
Thanks!
Yes, this feature is called Column Mode and can be enabled via Edit menu or keyboard shortcut.
RubyMine version 6.3 and later has real multiple line editing. Simultaneously edited areas of text need not be vertically adjacent and vertically aligned (as they must be to use Column Selection Mode).
Briefly,
option-click (on Mac; alt-click on Windows or Linux) to create additional carets, edit as usual, then hit escape to revert to a single caret
select some text and control-G (on Mac; alt-J on Linux and Windows) to search for the next occurrence of that text and add a caret to it
There are also editor commands to add carets (Clone Caret Below, Clone Caret Above) that are not bound by default, but that you can bind to keys of your choice.
More here: What’s Mining: Multiple Cursors and Selection
(Column Selection Mode still works fine for areas of text that are vertically adjacent and aligned.)

Resources