|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="en"> |
| 3 | +<head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 7 | + <title>SmallBASIC | language_support_jedit</title> |
| 8 | + <meta name="description" content="SmallBASIC | One more basic"> |
| 9 | + <link rel="canonical" href="/language_support_jedit.html"> |
| 10 | + <link rel="keywords" href="language_support_jedit"> |
| 11 | + <link rel="stylesheet" href="/css/style.css"> |
| 12 | + <link rel="icon" type="image/png" href="/images/sb-desktop-32x32.png"> |
| 13 | + <script src="/clipboard.js"></script> |
| 14 | +</head> |
| 15 | + <body> |
| 16 | +<div class="wrapAll clearfix"> |
| 17 | + <div class="sidebar"> |
| 18 | + <div class="logo"> |
| 19 | + <a href="/"><img src='/images/sb-desktop-128x128.png' alt="logo"></a> |
| 20 | + </div> |
| 21 | + <div class="navigation"> |
| 22 | + <h4>SmallBASIC</h4> |
| 23 | + <ul> |
| 24 | + <li><a href="/">Main page</a></li> |
| 25 | + <li><a href="/pages/download.html">Download</a></li> |
| 26 | + <li><a href="/pages/reference.html">Language reference</a></li> |
| 27 | + <li><a href="/pages/samples.html">Code library</a></li> |
| 28 | + </ul> |
| 29 | + <hr class="menuSeparator"/> |
| 30 | + <ul> |
| 31 | + <li><a href="/pages/articles.html">Articles</a></li> |
| 32 | + <li><a href="/pages/community.html">Community</a></li> |
| 33 | + <li><a href="/pages/changelog.html">Changelog</a></li> |
| 34 | + <li><a href="/pages/screenshots.html">Screenshots</a></li> |
| 35 | + <li><a href="/pages/links.html">Links</a></li> |
| 36 | + </ul> |
| 37 | + </div> |
| 38 | + </div> |
| 39 | + <div class="mainsection"> |
| 40 | + <div class="tabs clearfix"> |
| 41 | + <div class="tabsLeft"> |
| 42 | + <ul> |
| 43 | + <li><a href="#" class="active">Article</a></li> |
| 44 | + <li><a href="https://www.syntaxbomb.com/smallbasic">Discuss</a></li> |
| 45 | + </ul> |
| 46 | + </div> |
| 47 | + <div id="simpleSearch"> |
| 48 | + <form action="https://github.com/smallbasic/smallbasic.github.io/search" |
| 49 | + target="_github" accept-charset="UTF-8" method="get" style="display:inline"> |
| 50 | + <div id="submitSearch"> |
| 51 | + <button type="submit"> </button> |
| 52 | + <input type="hidden" class="js-site-search-type-field" name="type"> |
| 53 | + <input type="hidden" name="utf8" value="✓"> |
| 54 | + <input type="hidden" name="l" value="Visual Basic"> |
| 55 | + <input type="text" name="q" placeholder="Search" id="searchInput"> |
| 56 | + </div> |
| 57 | + </form> |
| 58 | + </div> |
| 59 | + <div class="tabsRight"> |
| 60 | + <ul> |
| 61 | + <li><a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/blob/master/_build/pages/language_support_jedit.markdown">View source</a></li> |
| 62 | + <li><a target="_github" href="https://github.com/smallbasic/smallbasic.github.io/commits/master/_build/pages/language_support_jedit.markdown">View history</a></li> |
| 63 | + </ul> |
| 64 | + </div> |
| 65 | + </div> |
| 66 | +<div class="article"> |
| 67 | +<h1 id="smallbasic-in-jedit">SmallBASIC in jEdit</h1> |
| 68 | +<blockquote> |
| 69 | +<p>Using jEdit</p> |
| 70 | +</blockquote> |
| 71 | +<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> |
| 72 | +<figure> |
| 73 | +<img src="https://github.com/Joe7M/smallbasic.jedit.syntaxcoloring/blob/main/Screenshot.png" alt="" /><figcaption>Example</figcaption> |
| 74 | +</figure> |
| 75 | +<h2 id="setup-syntax-highlighting-and-coloring">Setup Syntax Highlighting and Coloring</h2> |
| 76 | +<ul> |
| 77 | +<li>Download the file <code>smallbasic.xml</code> from <a href="https://github.com/Joe7M/smallbasic.jedit.syntaxcoloring">Github</a></li> |
| 78 | +<li>Start jedit</li> |
| 79 | +<li>Go to <code>Utilities -> Global Options -> Editing -> Edit Modes</code></li> |
| 80 | +<li>In the section <code>Add Mode</code> create a new mode: |
| 81 | +<ul> |
| 82 | +<li>Mode Name: ‘smallbasic’</li> |
| 83 | +<li>Select Mode File: select <code>smallbasic.xml</code></li> |
| 84 | +<li>File Name Glob: <code>*.bas</code></li> |
| 85 | +<li>First Line Glob: leave empty</li> |
| 86 | +</ul></li> |
| 87 | +<li>Click button <code>Add Mode</code></li> |
| 88 | +</ul> |
| 89 | +<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> |
| 90 | +</div> |
| 91 | + <div class="pagefooter"> |
| 92 | + This page was last edited on Sat, 18 Nov 2023 20:05:55 +0100 |
| 93 | + | |
| 94 | + <a href="https://en.wikipedia.org/wiki/Markdown" target="_blank" rel="nofollow">Markdown</a> |
| 95 | + processed with |
| 96 | + <a href="https://pandoc.org/MANUAL.html#pandocs-markdown" target="_blank" rel="nofollow">pandoc 2.9.2.1</a> |
| 97 | + | Template by <a href="http://html5-templates.com/" target="_blank" rel="nofollow">HTML5 Templates</a> |
| 98 | + </div> |
| 99 | + </div> |
| 100 | +</div> |
| 101 | + </body> |
| 102 | +</html> |
0 commit comments