Skip to content

Commit e65fae9

Browse files
committed
Syntax highlighting for jEdit and Micro
1 parent 43602c9 commit e65fae9

3 files changed

Lines changed: 34 additions & 0 deletions

File tree

_build/pages/language_support.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ Contents
1414
#. [Geany](/pages/language_support_geany.html)
1515
#. [Sublime Text](/pages/language_support_sublimetext.html)
1616
#. [KDE Kate](/pages/language_support_kdekate.html)
17+
#. [jEdit](/pages/language_support_jedit.html)
18+
#. [Micro](/pages/language_support_micro.html)
1719
:::
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# SmallBASIC in jEdit
2+
3+
> Using jEdit
4+
5+
_"jEdit is a free software text editor available under GPL-2.0-or-later. It is written in Java and runs on any operating system with Java support, including BSD, Linux, macOS and Windows. " ([wikipedia](https://en.wikipedia.org/wiki/JEdit))_
6+
7+
![Example](https://github.com/Joe7M/smallbasic.jedit.syntaxcoloring/blob/main/Screenshot.png)
8+
9+
## Setup Syntax Highlighting and Coloring
10+
11+
- Download the file `smallbasic.xml` from [Github](https://github.com/Joe7M/smallbasic.jedit.syntaxcoloring)
12+
- Start jedit
13+
- Go to `Utilities -> Global Options -> Editing -> Edit Modes`
14+
- In the section `Add Mode` create a new mode:
15+
- Mode Name: 'smallbasic'
16+
- Select Mode File: select `smallbasic.xml`
17+
- File Name Glob: `*.bas`
18+
- First Line Glob: leave empty
19+
- Click button `Add Mode`
20+
21+
Tip: In `Utilities -> Global Options -> Editing -> Edit Modes` you can remove `vbscript` from the section `Selected modes` to make SmallBASIC the standard syntax highlighting for bas files.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SmallBASIC in Micro
2+
3+
> Using Micro
4+
5+
_"Micro is a modern and intuitive terminal-based text editor " ([micro](https://micro-editor.github.io/))_
6+
7+
![Example](https://github.com/Joe7M/smallbasic.micro.syntaxcoloring/blob/main/Screenshot.png)
8+
9+
## Setup Syntax Highlighting and Coloring
10+
11+
Download the file `smallbasic.yaml` from [github](https://github.com/Joe7M/smallbasic.micro.syntaxcoloring) and copy it to `~/.config/micro/syntax/`.

0 commit comments

Comments
 (0)