title | weight |
---|---|
Editing |
30 |
Using Alt + Mouse dragging
or Alt + Shift + Arrow keys
to switch to column mode:
The Column Editor dialog allows you to insert text or numbers in every row of the active Column Mode selection:
- The
Text to Insert
will use the same text in every row. - The
Number to Insert
will insert increasing numbers.Initial number
sets the starting number.Increase by
will change the step between numbers. With a value of0
(or if left empty), it will insert the same number every time.Repeat
will will repeat the same number n times. Defaults to 1 if left blank.☐ Leading zeros
will cause all the numbers to have the same number of digits, by adding leading zeros for the smaller valuesFormat
chooses between Dec (0-9), Hex (0-9,A-F), Oct (0-7), or Bin (0-1). Note: that the numerical boxes above are always in decimal, even if a different format is chosen for display. (Example: to getF
-1F
, column-select 17 rows and set the initial number to15
-- it will not allowF
.)
Using CTRL + Mouse clicking
if Multi-Editing mode is enabled.
To enable Multi-Editing mode:
To create Dual View, drag and drop any tab that you want it to be in another view (or right click on the tab) then choose "Move to Other View" command from the popup context menu. Once you've got 2 views, you can move files between 2 views by drag-and-dropping.
Drag and drop any tab that you want to clone (or right click on the tab) then choose "Clone to Other View" command from the popup context menu. The cloned document is the same document as its original one, but with the separated views.
Aside from the normal undo/redo/copy/paste entries, there are a number of sub-menus to the Edit menu, which group together various categories of editing-related commands, and a few other editing commands in the main Edit menu.
Copy to Clipboard >
⇒ submenu with actions that copy current filename, path, or directory name to the clipboardIndent >
⇒ submenu with actions that increase or decrease the current line's indentation, based on the syntax language's tab/indent settingsConvert Case to >
⇒ submenu with actions that change the case of the selected text (all UPPERCASE, all lowercase, and various mixed-case settings)Line Operations >
⇒ submenu with actions that move or edit the current line; remove blank lines; and a variety of sorting algorithms.- There are two version of the Remove Duplicates functionality:
Remove Duplicates
: leaves only the first instance of any full lines that have more than one copy anywhere in the active fileRemove Consecutive Duplicate Lines
: will only remove duplicates that are on the lines immediately following the first instance (still keeping the first instance)
- There are a variety of sorting algorithms:
Ascending
means smallest to largest (A-Z)Descending
means largest to smallest (Z-A)Lexicographically
(orLex.
) means based on character codepoint, comparing one character at a time:- All uppercase letters will sort before any lowercase letter, so uppercase
Z
will sort before lowercasea
- The sequence
10
will sort before2
, because it sorts character-by-character of each collection of characters, and the character1
comes before the character2
- All uppercase letters will sort before any lowercase letter, so uppercase
Ignoring case
means that lowercasea
will sort the same as uppercaseA
, and both will come before eitherZ
orz
As Integers
means that10
will sort as being bigger than2
As Decimals (Comma)
means it will recognize10,234
and9,876
as decimal numbers and sort them numericallyAs Decimals (Dot)
means it will recognize10.234
and9.876
as decimal numbers and sort them numericallyRandomly
means that the selected lines will be placed in a random order, not determined by the characters or values on the line (added in v7.9)- If a Column Mode selection is active, the sort will re-order all the lines included in the selection, but the sort key (the text that decides the sort order) will be limited to what is inside the column selection. If the keys are identical on two lines, then the order of those two lines will not change (even if text outside of the selected key columns is different).
- There are two version of the Remove Duplicates functionality:
Comment/Uncomment >
⇒ submenu with actions that add or remove comment syntax, based on the file's Language selectionAuto-Completion >
⇒ submenu with actions that trigger auto-completion of function name, word, function parameter, and pathname, affected by Preferences > Auto-Completion settingsEOL Conversion >
⇒ submenu with actions that convert line endings between Windows (CRLF
), Unix (LF
), and old Macintosh (CR
) valuesBlank Operations >
⇒ submenu with actions that trim or convert spaces and TABsPaste Special >
⇒ submenu with actions that pastes HTML or RTF , and special versions of copy/cut/paste which handle NULL and other binary characters- Note: The HTML and RTF actions paste the HTML and RTF source code from the HTML or RTF entries in the Windows Clipboard; it does not apply HTML or RTF formatting to what appears to be plain text in the Notepad++ editor window.
On Selection >
⇒ submenu with actions that use the currently-selected text as a filename or folder to open, or as a term for an internet search. (Custom commands using the current selection can be added to the Run menu, using the<UserDefinedCommands>
section ofshortcuts.xml
.)Column Mode...
⇒ dialog explaining Column ModeColumn Editor
⇒ runs the Column Editor dialog, described aboveCharacter Panel
⇒ maps the 255 8-bit code points to their character for the given encodingClipboard History
⇒ allows you to re-access recent copy/paste values (double-click a row to paste that value)Set Read-Only
orClear Read-Only Flag
⇒ toggles whether the active file is set to Read-Only mode or not