Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: JustCause on November 01, 2011, 11:59:47 am

Title: Shyne - A New Approach To Text Editing
Post by: JustCause on November 01, 2011, 11:59:47 am
What is Shyne?
Shyne is exactly 1/2 of a text editor. With Shyne, you write documents in the normal program editor, and display them using the Shyne App.

Why use the normal program editor instead of a dedicated editor?
Because normal editors are slow. Apps like Notefolio slow down immensely when reflowing text: so much so that you may find yourself typing faster than the editor can capture your inputs, especially on the TI Keyboard. The Program Editor is the fastest editor yet created for TI, and it's available right from the homescreen.

So why use Shyne?
Most calculator text ed
itors break up lines in
 a haphazard way, pay
ing no attention to th
e words.
Shyne is different. Shyne intelligently wraps words, so that a word is never cut off by a linebreak. This makes for a much more easy, natural reading experience. Additionally, Shyne offers a series of markup sequences so you can highlight words, set tabs, and more, letting you create organized documents. With Shyne, you can create documents quickly and simply, then look them over later in a clean and easy-to-read format.

Where can I get Shyne?
Download links to Shyne Alpha are coming very soon! (Read: within the day.) TI Connect is being irritating. Slight delays incoming.
Disclaimer: very little has been implemented (including a menu ^^;), considering I started coding this this morning: word wrap and paging works perfectly, though.

Screenshots?
Coming soon. (Read: within the day.) TI Connect is being irritating. Slight delays incoming.

I have a suggestion for Shyne. Where do I put it?
Reply to the thread!

You are awesome and I want to have your children.
Send pics and we'll talk.
Title: Re: Shyne - A New Approach To Text Editing
Post by: AngelFish on November 01, 2011, 12:06:04 pm
Can't wait to see this! One suggestion I have is that the syntax be something like Mediawiki's or HTML syntax.

You are awesome and I want to have your children.

O.O
Title: Re: Shyne - A New Approach To Text Editing
Post by: LincolnB on November 01, 2011, 05:48:01 pm
On calc? Axe? TI-83+ fam?
Title: Re: Shyne - A New Approach To Text Editing
Post by: ben_g on November 01, 2011, 06:09:03 pm
On calc? Axe? TI-83+ fam?
app, program editor, ti-connect...

Looks like it's going to be on-calc, and as basic can't handle the content of programs, I think it's axe.
Title: Re: Shyne - A New Approach To Text Editing
Post by: JustCause on November 01, 2011, 06:33:51 pm
On calc? Axe? TI-83+ fam?
app, program editor, ti-connect...

Looks like it's going to be on-calc, and as basic can't handle the content of programs, I think it's axe.
/me gives ben_g a cookie
Title: Re: Shyne - A New Approach To Text Editing
Post by: Builderboy on November 01, 2011, 06:36:52 pm
So it sounds like Shyne is not an editor at all, since it can't modify the programs?  It is more like a text viewer?
Title: Re: Shyne - A New Approach To Text Editing
Post by: JustCause on November 01, 2011, 06:47:11 pm
So it sounds like Shyne is not an editor at all, since it can't modify the programs?  It is more like a text viewer?
Not strictly an editor, then. Intelligently wrapping while dealing with input would be unreasonably slow, and that was one of my main considerations while designing.
Title: Re: Shyne - A New Approach To Text Editing
Post by: Builderboy on November 01, 2011, 06:56:45 pm
Ah gotcha, so this program is just for viewing code/documents in a more readable way?  Or is it not meant for programs and just specifically for documents? 
Title: Re: Shyne - A New Approach To Text Editing
Post by: JustCause on November 02, 2011, 08:59:24 am
Ah gotcha, so this program is just for viewing code/documents in a more readable way?  Or is it not meant for programs and just specifically for documents? 
Specifically intended for documents, but also applicable to programs. Files can be tagged with a header to enable Shyne text formatting (escape codes and whatnot for tab stops, etc., see below), but any file can be viewed.

I'll readily admit that there's basically no need for this tool to exist, save the fact that I type too fast for Notefolio. ^^;

On a side note, I've now got the first two formatting codes working, which toggle inverted text. -I (the negative sign, not the minus sign) inverts, and -N reverts to normal. This is a godawful syntax and I hate it. Any other suggestions?
Title: Re: Shyne - A New Approach To Text Editing
Post by: LincolnB on November 02, 2011, 10:08:17 am
Using the F-Buttons (F1,F2) also known as Y=, Graph, and the others on the top row are always good for functions like that
Title: Re: Shyne - A New Approach To Text Editing
Post by: JustCause on November 02, 2011, 10:36:55 am
Using the F-Buttons (F1,F2) also known as Y=, Graph, and the others on the top row are always good for functions like that
It's gotta be something inserted into the text. Shyne doesn't have any editing capabilities on its own, it just reads programs designed for it. All that's in the OP somewhere.

I'll probably end up going with square brackets for highlighting, -> for indents, and negative as a legitimate escape character (so if you need to use -> in the text, you just type - ->).
Title: Re: Shyne - A New Approach To Text Editing
Post by: C0deH4cker on November 02, 2011, 10:44:21 am
How about the ^ character?
Title: Re: Shyne - A New Approach To Text Editing
Post by: JustCause on November 02, 2011, 11:25:59 am
How about the ^ character?
Hm. I actually like that a lot more as an escape character. I'll use that instead. Thanks!
Title: Re: Shyne - A New Approach To Text Editing
Post by: Eiyeron on November 02, 2011, 12:13:42 pm
Eh, if you want to code some .c routines with your editor, how we could writ without the binary xor operator? :/
Title: Re: Shyne - A New Approach To Text Editing
Post by: JustCause on November 02, 2011, 12:14:40 pm
Eh, if you want to code some .c routines with your editor, how we could writ without the binary xor operator? :/
Then type ^^. ^, for now, just indicates that the next character should be interpreted literally and not as a part of a formatting command.
Title: Re: Shyne - A New Approach To Text Editing
Post by: JustCause on November 03, 2011, 10:38:32 am
Soft tabs and tab stops are now implemented. Also fixed a bug where wrapped words would evaluate their formatting codes twice, causing words that should be highlighted to be normal.

Once TI Connect stops derping, I'll upload a demo.
Title: Re: Shyne - A New Approach To Text Editing
Post by: JustCause on November 09, 2011, 06:59:42 pm
It is now confirmed. This is completely useless. :P I'll be continuing work on it anyway because. well, why not?

Currently working on the file menu.
Title: Re: Shyne - A New Approach To Text Editing
Post by: AngelFish on November 09, 2011, 07:15:10 pm
PDF support!!!!!! :P
Title: Re: Shyne - A New Approach To Text Editing
Post by: LincolnB on November 10, 2011, 05:19:12 pm
haha PDF on calc would be pretty fantastic.
Title: Re: Shyne - A New Approach To Text Editing
Post by: shmibs on November 10, 2011, 05:39:05 pm
i could see one way this could be somewhat useful:
typically, documentation for projects is made in computer-readable formats only, but the program is not always distributed via computer (people hand it out to friends at school), and, even if it was received from a computer, that computer will not always be handy when using the program.
documentation for things could be made in this format and distributed from one calc to another as a program.
Title: Re: Shyne - A New Approach To Text Editing
Post by: calcdude84se on November 10, 2011, 06:42:29 pm
This sounds almost exactly like Nifty. (http://www.ticalc.org/archives/files/fileinfo/196/19624.html)
Good luck!
Title: Re: Shyne - A New Approach To Text Editing
Post by: Darl181 on November 10, 2011, 06:51:04 pm
Hm I'm a bit late for this but would it take modified .txt files, or files written especially for this program?