Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I somehow ended up with a ClrLn command in my Xcode text key bindings, the Delete command.

What is the ClrLn command and how did I get it to appear there? What keystroke combination on the keyboard results in a ClrLn command being issued?

share|improve this question
add comment

3 Answers

My new flat, wired, full-sized, aluminum-looking keyboard seems to emit a ClrLn when I press the "clear" button in the keypad area. Still not sure what this/"the Delete action" is supposed to do in Xcode though.

share|improve this answer
add comment

It is not clear to me what you are describing. What does “ClrLn” mean? Which delete key are you talking about?

In my Xcode 2.5, the ⌦ key (forward delete; on full keyboards, the one in the 2x3 keypad between the main set of keys and the numeric keypad) is bound to the Action Delete Forward (along with Control-D, shown as ^D).

If you have somehow assigned the key forward delete to something else, just reassign it to Delete Forward and it will be removed from whatever action it is currently assigned. If you want to preserve the ^D binding, click the plus button that is displayed after double-clicking in the actions's Keys column. To exit key-assignment mode, just click on another line the Action/Keys table.

If you are talking about the other delete key (⌫; backwards delete; the one immediately to the right of = on most US keyboards), then that is usually bound to Indent Friendly Delete Backward (in Xcode 2.5).

There are several actions that might be your “ClrLn”: Delete to Beginning of Line, Delete to Beginning of Paragraph, Delete to End of Line, Delete to End of Paragraph. In these line means to the next/previous “soft” line break (wrap due to window width), paragraph means to the next/previous “hard” line break (CR/CRLF/LF sequence in the file). None of these are assigned a key in the default Xcode 2.5 configuration.

share|improve this answer
    
ClrLn is the keystroke, Delete is the action. –  Clay Bridges Jun 2 '11 at 18:24
add comment

I am not sure what key stroke combination you used, but you might want to try the Xcode shortcuts located Complete Xcode Keyboard Shortcut List.

You might be able to reproduce.

share|improve this answer
    
ClrLn is on that list: for action Delete, press ClrLn –  Clay Bridges Jun 2 '11 at 18:14
    
@Peter Please take more care when editing others' posts. The first sentence's grammar seems broken. –  Daniel Beck Jan 13 '12 at 20:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.