-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathlanguage_support_jedit.html
More file actions
87 lines (87 loc) · 3.49 KB
/
Copy pathlanguage_support_jedit.html
File metadata and controls
87 lines (87 loc) · 3.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>SmallBASIC | language_support_jedit</title>
<meta name="description" content="SmallBASIC | One more basic">
<link rel="canonical" href="/language_support_jedit.html">
<link rel="keywords" href="language_support_jedit">
<link rel="stylesheet" href="/css/style.css">
<link rel="icon" type="image/png" href="/images/sb-desktop-32x32.png">
<script src="/clipboard.js"></script>
</head>
<body>
<button onclick="topFunction()" id="BackToTopBtn" title="Go to top">⯅</button>
<script src="/backtotop.js"></script>
<div class="wrapAll clearfix">
<nav class="navigation">
<div class="logo">
<a href="/"><img src='/images/sb-logo.png?v=2' alt="logo"></a>
</div>
<div class="navlinks">
<a href="/pages/download.html">Download</a>
<a href="/pages/news.html">News</a>
<a href="/pages/community.html">Community</a>
<a class='active' href="/pages/articles.html">Resources</a>
<a href="/pages/reference.html">Language Reference</a>
<a href="/pages/guide.html">SmallBASIC Manual</a>
</div>
</nav>
<div class="mainsection">
<div class="tabs clearfix">
<div class="tabsRight">
<a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/blob/master/_build/pages/language_support_jedit.markdown">Edit</a>
<a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/commits/master/_build/pages/language_support_jedit.markdown">History</a>
</div>
</div>
<div class="article">
<h1 id="smallbasic-in-jedit">SmallBASIC in jEdit</h1>
<blockquote>
<p>Using jEdit</p>
</blockquote>
<p><em>“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.” (<a
href="https://en.wikipedia.org/wiki/JEdit">wikipedia</a>)</em></p>
<figure>
<img
src="https://github.com/smallbasic/smallbasic.syntax-highlighting/raw/main/jedit/screenshot.png"
alt="Example" />
<figcaption aria-hidden="true">Example</figcaption>
</figure>
<h2 id="setup-syntax-highlighting-and-coloring">Setup Syntax
Highlighting and Coloring</h2>
<ul>
<li>Download the file <code>smallbasic.xml</code> from <a
href="https://github.com/smallbasic/smallbasic.syntax-highlighting/tree/main/jedit">Github</a></li>
<li>Start jedit</li>
<li>Go to
<code>Utilities -> Global Options -> Editing -> Edit Modes</code></li>
<li>In the section <code>Add Mode</code> create a new mode:
<ul>
<li>Mode Name: ‘smallbasic’</li>
<li>Select Mode File: select <code>smallbasic.xml</code></li>
<li>File Name Glob: <code>*.bas</code></li>
<li>First Line Glob: leave empty</li>
</ul></li>
<li>Click button <code>Add Mode</code></li>
</ul>
<p>Tip: In
<code>Utilities -> Global Options -> Editing -> Edit Modes</code>
you can remove <code>vbscript</code> from the section
<code>Selected modes</code> to make SmallBASIC the standard syntax
highlighting for bas files.</p>
</div>
<div class="pagefooter">
This page was last edited on Sun, 19 Nov 2023 10:40:38 +1030
|
<a href="https://en.wikipedia.org/wiki/Markdown" target="_blank" rel="nofollow">Markdown</a>
processed with
<a href="https://pandoc.org/MANUAL.html#pandocs-markdown" target="_blank" rel="nofollow">pandoc 3.5</a>
</div>
</div>
</div>
</body>
</html>