ALT key on keyboard

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
Nicero
Posts: 2
Joined: Tue Jan 27, 2015 1:02 pm

ALT key on keyboard

Post by Nicero »

I'm testing the trial version of RapidPHP and I don't understand a couple of things.

1. Why I can't manually add brackets {} to my code by pressing ALT+123 and ALT+125 but I have to use the menu shortcut? Actually I may not add any character by using ALT+ keys.
2. I noticed that brackets are added to the code not where the cursor is positioned, but every time at the beginning of the row for example:

Suppose I have the following code, when I add class_3 brackets are added at the beginning of the next row and a space is added before the opening bracket:

Code: Select all

    .class_1 {
        padding: 10px;
        margin: 0px;
    }
    .class_2 {
        padding: 10px;
    }
.class_3 
  {
    padding: 10px;
}
How can this be avoided?
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: ALT key on keyboard

Post by Aivars »

I think your Alt+<numbers> combinations are interpreted as navigation keys (arrows, home). We are aware that some Alt+<numbers> combinations don't work well in the editors but it's more difficult to fix than it sounds. For now you just have to use { and } keys on the keyboard.
Blumentals Software Programmer
Nicero
Posts: 2
Joined: Tue Jan 27, 2015 1:02 pm

Re: ALT key on keyboard

Post by Nicero »

Thank you for you prompt answer. Maybe you are wondering why I use ALT+<number> to type brackets? Sorry, I forgot to say that italian keyboards do not have the keys for { and } :roll: !!
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: ALT key on keyboard

Post by Aivars »

Sounds like it's very difficult to code for Italians since most of the popular languages use { and } extensively :)
Anyways a kind of workaround could be declaring snippets in Library (menu View -> Library) for { and } and assigning some shortcut keys to them.
Blumentals Software Programmer
MaxA
Posts: 18
Joined: Tue Aug 28, 2012 5:53 pm

Re: ALT key on keyboard

Post by MaxA »

O, God, poor italian developers! I understand why I don't know any programmers from Italy now - they haven't brackets :)
Post Reply