summaryrefslogtreecommitdiff
path: root/IDEA
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-12-27 04:08:29 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2011-12-27 04:08:29 +0100
commit2afe23ab0a3d17b50f55750241a682403ced4fc8 (patch)
tree19708f1d79ce22eed6b0e90de4760a8cfcc9504b /IDEA
parentc044a7a6eaba9ba47b8fde2cd6bdd444d8f87062 (diff)
parent9c3837e0086ca07f241e9cc74c9fabbeb2d39987 (diff)
downloadcoderay-2afe23ab0a3d17b50f55750241a682403ced4fc8.tar.gz
Merge branch 'master' into multiline-inline-diff
Conflicts: coderay.gemspec
Diffstat (limited to 'IDEA')
-rw-r--r--IDEA30
1 files changed, 0 insertions, 30 deletions
diff --git a/IDEA b/IDEA
deleted file mode 100644
index 52cdbd6..0000000
--- a/IDEA
+++ /dev/null
@@ -1,30 +0,0 @@
-Website tools:
-- convertor: reads and writes HTML (filter)
- <code lang="ruby">bla</code>
- =>
- <code class="CodeRay">...</code>
-
-- manual highlighter:
- 1. idea:
- special scanner (simply reading raydebug code should be enough)
- => makes it possible, easy to write
-
- 2. idea:
- => cooler, but more advanced
- => still easy to implement for all scanners at once
- preamble function (wrapper for scanners):
- for example, a method def:
- def foo
- shall be shown in the same color as method(foo), but
- without the def. so write:
- !def !foo
- Input is read into def foo and 4 (number of chars in preamble)
- Ruby scanner outputs some Tokens:
- reserved(def) method(foo)
- and chopped by a chop_preamble method giving:
- method(foo)
- PreambleTokens subclass?
- Tokens instance that takes options?
-
- 3. idea:
- Scanner handled solution --> forget it.