A work in progress
A custom text editor using a graphics window instead of texteditor control. This allows custom response to input, which opens up a world of possibilities not available with the standard JB texteditor control.
This project isn't intended to produce "the world's coolest text editor." It's intended to produce something that is easy to modify, adding custom functionality. Thus, extensive features are not a goal, but high-quality, modular implementation of standard features is a goal.
Just TEXT - custom text editor
Just TEXT - custom text editor
- Attachments
-
- JTa3.bas.zip
- (2.7 KiB) Downloaded 544 times
Word wrapping is turning out to be more difficult than I expected. Here is one attempt at implementing this feature.
- Attachments
-
- JTa5x.bas.zip
- (2.21 KiB) Downloaded 426 times
Re: Just TEXT - custom text editor
Version current as of December 3, 2011.
I'm having trouble with this at the moment. See the forum thread herehttp://justbasic.conforums.com/index.cg ... 1322968979.
I'm having trouble with this at the moment. See the forum thread herehttp://justbasic.conforums.com/index.cg ... 1322968979.
- Attachments
-
- JTn02.zip
- (3.18 KiB) Downloaded 407 times
-
- Posts: 4
- Joined: Thu Jan 12, 2012 3:08 pm
Re: Just TEXT - custom text editor
In a later version, would I be possible to be able to embolden things?
Re: Just TEXT - custom text editor
Bold? Yes, that can be done. It works by having a bold font exactly the same size as the regular font, in this case I'm using Source Code Pro font, available at 1001fonts.com, and in this zip file (i hope)
To install the fonts in Windows 7, simply extract them, then right click and choose install.
To install the fonts in Windows 7, simply extract them, then right click and choose install.
- Attachments
-
- JT modular 2d.zip
- (307.54 KiB) Downloaded 368 times
Re: Just TEXT - custom text editor
A code editor written in JB. It's primarily the Just TEXT text editor, but also has syntax highlighting. This program has a poor attempt at highlighting unique (i.e., misspelled) variable names. There are a number of improvements that can be made.
In this version:
' remembers some settings: last file loaded, syntax highlighting, font name
' undo feature - but only one level of undo
' find (ctrl+f) and replace (ctrl+r)
' try to recover lost work if the program/computer crashes
' F12 will let try to divide by zero - to test the recovery feature
' maintains indentation from previous line
- Vertical scroll bar
- File menu
- Jump window
- improved graphics flushing
Custom behavior:
Ctrl + Left Arrow will indent the selected line(s)
(This does NOT use the source code pro fonts, and they are not included here)
In this version:
' remembers some settings: last file loaded, syntax highlighting, font name
' undo feature - but only one level of undo
' find (ctrl+f) and replace (ctrl+r)
' try to recover lost work if the program/computer crashes
' F12 will let try to divide by zero - to test the recovery feature
' maintains indentation from previous line
- Vertical scroll bar
- File menu
- Jump window
- improved graphics flushing
Custom behavior:
Ctrl + Left Arrow will indent the selected line(s)
(This does NOT use the source code pro fonts, and they are not included here)
- Attachments
-
- JT modular 2M.zip
- (10.24 KiB) Downloaded 471 times