Qtxt

Anything QL Software or Programming Related.
Post Reply
User avatar
NL_QL_Usr
Bent Pin Expansion Port
Posts: 97
Joined: Sun Jan 08, 2023 8:42 am
Location: Harz DE

Qtxt

Post by NL_QL_Usr »

Qtxt:
just a simple text editor.
I needed it for another project.

Just sharing superbasic code.
Alter/use anyway you like.

When editing sbasic or superbasic
I normally use simply ED
But I added from the diytk
lrespr win1_diytk_voia_defs_code
And in the boot file
Altkey "e"."ed _ext%"&chr$(10)

then you have ALT e en find easy the Proc you want to edit

Qtxt is able to edit txt or sbasic files.
Don't expect it to be all finished.
Maybe if you like it, you can make improvements.


It was made on/for Q68 in mode 4.

in proc INI set your defaults
in proc INIT you could change mx% and mx%
wich changes the maximum lines (mx%) and max char per line (ml%)
place the qtxt_hlp to win2_data or change the default

Have fun



x=0 -- x=0
|-- tx$(1)
|
|
|____________ ix%
| <y> |
| | ix%+x
|< ml% >|
| |
| |
|____________| mx%
|
|
|
|
-- lns%
|
|
| tot%
tx$
x= x-position x 0 = tx$(x+1)
ix%=index x
y= y-position 1 to mx%
mx%=max lines per window
lns%=total lines in use
tot%=maximum lines total


qtxt-mark.png
Attachments
qtxt_hlp.zip
(515 Bytes) Downloaded 6 times
qtxt102.zip
(17.18 KiB) Downloaded 9 times


User avatar
RalfR
QL Wafer Drive
Posts: 1276
Joined: Fri Jun 15, 2018 8:58 pm

Re: Qtxt

Post by RalfR »

Not to forget "WMOV", so CTRL-F4 moves the window...

:D


7000 4E75
Post Reply