Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7742

General • Re: Japi Base Editor (JBE) v1.0 — a Turbo-Pascal-style editor for the Pico 2

$
0
0
In my 17 May post the Japi Base Editor (JBE) was barely more than a preview. Since then it has grown into a full, usable editor and reached its first production releases -- it is now v2.2. Here is what it can do now.

Editing

- A complete menu-driven editor (File, Edit, View, Search, Macro, Options, Run) with the shortcuts you expect: Cut/Copy/Paste, Select All, Undo/Redo with word-level grouping, and a stream or rectangular (column-block) selection.

- Auto-indent: a new line keeps the indentation of the line above, so code stays lined up as you type.

- Bracket matching: the partner bracket gets a grey highlight; an unbalanced bracket turns red, so a missing one is easy to spot.

- Go to Line (Ctrl+L). On the full computer, a BASIC program that stops on an error drops the cursor straight on the offending line.

- Toggle Comment (Ctrl+G) on a line or a whole selection.

- Format (Edit -> Format): re-indents the block structure, trims trailing spaces and uppercases the BASIC keywords and built-in functions to their standard spelling, leaving your names, strings and comments untouched. Works on the whole file or just a selection.

Built-in help

- A context-sensitive F1 help system and a Help menu: the whole manual is built into the editor, so the documentation is always one key away.

Japi Commander -- a built-in file manager

- A two-pane file browser (Ctrl+J) showing the SD card (A:) and the built-in flash (C:) side by side, with an on-screen key legend.

- Windows-style Ctrl+C / Ctrl+X / Ctrl+V to copy, cut and paste between the drives, multi-select with Space, make a folder, rename and delete.

- Full recursive folder operations: copy, move and delete whole folders with everything inside them. A paste that would overwrite asks first (Y to replace, N to skip or A to replace all), and a move within one drive is instant.

Syntax highlighting

- Automatic highlighting by file extension, with built-in BASIC and Z80 schemes plus your own .syn colour schemes. The BASIC scheme now colours the built-in functions as well as the keywords.

Calculator

- Press NumLock for a calculator over your text -- a programmer's calculator (hex, decimal, signed decimal and binary, a selectable bit width, bitwise operations and shifts) and a classic floating-point one, with Shift+Tab to switch between them. Ctrl+C / Ctrl+V move a number between the calculator and your code.

Speed

- A CPU-speed chooser in the Options menu: 260, 324 (the default) and 390 MHz, applied with a quick reboot.

Try it

The editor runs on real hardware and also on a host simulator so you can try it on a PC first. The repo has the manual (PDF), the source and the ready-to-flash firmware on the Releases page:

https://github.com/JanFromBelgium/JapiBaseEditor

As always, feedback, questions and pull requests are very welcome.

Statistics: Posted by JanFromBelgium — Wed Jun 24, 2026 1:56 pm



Viewing all articles
Browse latest Browse all 7742

Latest Images

Trending Articles



Latest Images