restructuredtext - Indent block selection in notepad++ (starting at other position than first character) -
i writing documentation in restructuredtext format. prettify things using lot tables , here might know indentation becomes important - , annoying edit. need keep first words of each line are, need indent words in second column line up.
i can use alt + drag select block, how can indent this? save lot of time not having go each line tab or space everything.
example:
================================ ============ xpath meaning ================================ ============ /div/a fetch a-tags in /div tags //a fetch every a-tag ./@href fetch href attribute of current tag ./text() fetch text held current tag
desired result:
================================ ============ xpath meaning ================================ ============ /div/a fetch a-tags in /div tags //a fetch every a-tag ./@href fetch href attribute of current tag ./text() fetch text held current tag
you can rectangle selection (alt+drag) on area left of characters indented. in example shown select 1 space wide 3 high left of 3 'f's. (you select rectangle 0 characters wide 3 high.) type space characters until 3 lines correctly indented. when type rectangular selection, same character entered each line.
this not align ragged text may make quicker align things. speed many lines having ragged left align groups of adjacent lines 1 one, select rectangular area , type space align that.
(checked in notepad++6.3.2.)
Comments
Post a Comment