Compiler
CSS Properties
word-break
Run
<!DOCTYPE html> <html> <head> <style> p { width: 150px; border: 1px solid black; } .ex1 { word-break: normal; } .ex2 { word-break: keep-all; } .ex3 { word-break: break-all; } </style> </head> <body> <h1>The word-break property</h1> <h2>word-break: normal (default)</h2> <p class="ex1">Thisissomeveryveryverylongword. Words will break according to usual rules.</p> <h2>word-break: keep-all</h2> <p class="ex2">Thisissomeveryveryverylongword. This text will-break-at-hyphens.</p> <h2>word-break: break-all</h2> <p class="ex3">Thisissomeveryveryverylongword. This text will break at any character.</p> </body> </html>
Editor Commands
Commands
Shortcut Key (Win)
Shortcut Key (Mac)
selectAll
Ctrl-A
Cmd-A
singleSelection
Esc
-
killLine
-
Ctrl-K (Mac)
deleteLine
Ctrl-D
Cmd-D
undo
Ctrl-Z
Cmd-Z
redo
Ctrl-Y
Shift-Cmd-Z, Cmd-Y
undoSelection
Ctrl-U
Cmd-U
redoSelection
Alt-U
Shift-Cmd-U
goDocStart
Ctrl-Home
Cmd-Up, Cmd-Home
goDocEnd
Ctrl-End
Cmd-End, Cmd-Down
goLineStart
Alt-Left
Ctrl-A
goLineEnd
Alt-Right
Ctrl-E
goLineRight
-
Cmd-Right
goLineLeft
-
Cmd-Left
goLineUp
Up
Ctrl-P
goLineDown
Down
Ctrl-N
goPageUp
PageUp
Shift-Ctrl-V
goPageDown
PageDown
Ctrl-V
newlineAndIndent
Enter
-
save
Ctrl-S
Cmd-S