aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2006-03-09 20:09:28 +0000
committerTim Yamin <plasmaroo@gentoo.org>2006-03-09 20:09:28 +0000
commitcbb4c933a0323fcaa84262b69849fbf52ac2e336 (patch)
tree56dccd3f29e15894020cfe5c810656e9de4672f4 /tasks-reference
parentFix code highlighting if we start with tabs rather than whitespace. (diff)
downloaddevmanual-cbb4c933a0323fcaa84262b69849fbf52ac2e336.tar.gz
devmanual-cbb4c933a0323fcaa84262b69849fbf52ac2e336.tar.bz2
devmanual-cbb4c933a0323fcaa84262b69849fbf52ac2e336.zip
Add optional line numbering to the syntax highlighter.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@23 176d3534-300d-0410-8db8-84e73ed771c3
Diffstat (limited to 'tasks-reference')
-rw-r--r--tasks-reference/completion/text.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks-reference/completion/text.xml b/tasks-reference/completion/text.xml
index 216b293..7de4101 100644
--- a/tasks-reference/completion/text.xml
+++ b/tasks-reference/completion/text.xml
@@ -160,7 +160,7 @@ Nearly all completion functions will start out the same way. For these cases,
the following can be used as a template for creating new completion functions:
</p>
-<codesample lang="ebuild">
+<codesample lang="ebuild" numbering="lines">
_foo() {
local cur prev opts
COMPREPLY=()
@@ -302,7 +302,7 @@ real completion function for <c>revdep-rebuild</c> (might even be available in
<c>gentoo-bashcomp</c> by the time you read this :]).
</p>
-<codesample lang="ebuild">
+<codesample lang="ebuild" numbering="lines">
_revdep_rebuild() {
local cur prev opts
COMPREPLY=()