Author Topic: TFE - Resurrection (TI-File Editor)  (Read 22546 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TFE - Resurrection (TI-File Editor)
« Reply #30 on: June 19, 2010, 05:29:54 pm »
Question: In future versions of the file editor, are you planning to support the new Axe tokens? You would just need to detect if the program code starts with a dot and it would parse the changed tokens differently.

It might make editing Axe programs easier for when Axe language will use a lot of modified token names.

EDIT: With the option to disable them, maybe, especially for the earliest versions of Axe supporting them, since the old tokens are being gradually phased out, not instantly
« Last Edit: June 19, 2010, 05:34:19 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #31 on: June 19, 2010, 05:36:23 pm »
Umm, I was thinking of adding a setting to toggle axe tokens on or off, not just turning them on for all "axe" programs, since some people might still not want to use them, but yeah, i'll add something like that... =P
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #32 on: August 18, 2010, 02:59:52 am »
Ok, new version out that fixed a couple bugs, optimized a bit, and added primitive syntax highlighting which was a b*tch to add, if i do say so myself.  The stage it's at right now just attempts to highlight If, While, and Repeat blocks, which it can do most of the time.  I mostly am just releasing it at this stage to get feedback on how you guys think it should look etc.  Enjoy, and please comment! =D
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TFE - Resurrection (TI-File Editor)
« Reply #33 on: August 18, 2010, 03:14:18 am »
I'm glad this is progressing again. I still got a few save errors, though, but it seemed random. At first I tried saving a file and when I opened it, the code seemed broken. Afterward it wouldn't let me save anything anymore :(, then it crashed. Syntax highlighting seemed to work fine from what I seen, although I did not check very hard. I think the colors should be different, though, because gray seems a bit hard to read. Maybe like green for if, yellow for while, light blue for repeat and orange for For(). Also alternating between a lighter and darker color for each nested loops/ifs would be easier to read too.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #34 on: August 23, 2010, 02:24:45 am »
Ok, I finished block highlighting, anything else you guys would like to see added to the highlighting while I'm working on this part?  Also, Dj, errors... when? How?  That always helps getting rid of them... =P
« Last Edit: August 23, 2010, 05:09:09 pm by cooliojazz »
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TFE - Resurrection (TI-File Editor)
« Reply #35 on: August 23, 2010, 03:00:15 am »
I'Ll try this version tomorrow, hopefully, and try to track when the errors occurs in particular.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline matthias1992

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 408
  • Rating: +33/-5
    • View Profile
Re: TFE - Resurrection (TI-File Editor)
« Reply #36 on: August 23, 2010, 05:12:38 am »
sorry for the bump but:
Code: [Select]
      While True
            If InStr(TempContents, vbCrLf) Then
                TempContents = Mid(TempContents, 1, InStr(TempContents, vbCrLf) - 1)
+ "{vbCrLf}" + Mid(TempContents, InStr(TempContents, vbCrLf)
+ 2, TempContents.Length - InStr(TempContents, vbCrLf))
            Else
                Exit While
            End If
        End While
The above section, couldn't that be:
Code: [Select]
While InStr(TempContents, vbCrLf)
                TempContents = Mid(TempContents, 1, InStr(TempContents, vbCrLf) - 1) + "{vbCrLf}"
+ Mid(TempContents, InStr(TempContents, vbCrLf)
+ 2, TempContents.Length - InStr(TempContents, vbCrLf))
    End While
Maybe I have drawn it out of context but i think it is a fair ,albeit small, optimization.
« Last Edit: August 23, 2010, 05:15:30 am by matthias1992 »
MASM xxxxxxxxxx aborted | SADce ====:::::: 40% -Halted until further notice| XAOS =====::::: 50% -Units done| SKYBOX2D engine ========== 100% -Pre-alpha done. Need to  document it and extend |

~Those who dream by day are cognizant of much more than those who dream by night only. -Sir Edgar Allen Poe-

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TFE - Resurrection (TI-File Editor)
« Reply #37 on: August 23, 2010, 02:43:28 pm »
How do you actually disassemble VB executables? O.o
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline qazz42

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1130
  • Rating: +30/-12
  • hiiiiiiiii
    • View Profile
Re: TFE - Resurrection (TI-File Editor)
« Reply #38 on: August 23, 2010, 03:43:43 pm »
This is in VB? Woah!

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #39 on: August 23, 2010, 05:08:09 pm »
@matthias Yeah, actually I could, I just didn't notice.  That particular section of code is old...
@qazz42 It is, is it really that surprising? :P  Although, I do have to say I was happy that the current highlighting isn't slowing down the text editing speed so far as I can tell...  ;D
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #40 on: September 12, 2010, 11:56:57 pm »
Random Update: I added Axe Tokens...If the saving is not perfect, please tell me! I have this strange feeling i am doing somethign wrong, but I don't know what, and it's working so far... =P
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: TFE - Resurrection (TI-File Editor)
« Reply #41 on: September 12, 2010, 11:58:42 pm »
Cool an update! I'll load some Axe progs into it when I get around testing it.

If saving fails, will you post the source code for it in the non calc dev section? Someone may be able to help. I think a few others know VB here
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #42 on: September 13, 2010, 12:06:20 am »
(I accidentally posted the wrong version, that was the one where I was working on the picture interface, so clicking new would have failed... Try this one)
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: TFE - Resurrection (TI-File Editor)
« Reply #43 on: September 17, 2010, 04:14:12 am »
Do you plan on adding the Greek letters into this? I just noticed that it doesn't show them correctly and such so I figured they weren't added.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #44 on: September 17, 2010, 09:31:55 am »
99% of tokens are added, only a couple of the "BBxx" tokens and the bold N, since it's not in their font set and I'll need to fix that... Anyways, what I'm saying is they are added...
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)