Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - BlakPilar

Pages: 1 ... 21 22 [23] 24 25 ... 49
331
Yeah, it's different lol. This one, if I use it and if I get the hang of the way it uses XML, won't give the problem with everything being highlighted as a comment.

332
Ok, so, in a copy of the project, I switched over to ICSharpCode's TextEditor. Here's just a quick look at what everything would look like (I haven't implemented the syntax highlighting yet).

At least one of the trade-offs that I'm aware of right now, though, is I do not know of a way in which to export colored text as HTML with this editor :/

333
TI Z80 / Re: Axe reader..sorta
« on: December 18, 2011, 12:13:23 am »
People could also write their own books! :D

But thanks! That's awesome! :) I love ABR and I'm getting a shirt for Christmas :D I wish I saw them live though :(

334
TI Z80 / Re: Axe reader..sorta
« on: December 18, 2011, 12:08:15 am »
OOOHHHH, okay, now I understand. Hmm... Things would be fairly large, but they could just be archived. I like it! :D

335
TI Z80 / Re: Axe reader..sorta
« on: December 18, 2011, 12:00:10 am »
It's an app that if you install it, you can press the + button next to a command and a screen will display that shows how to use it.

336
TI Z80 / Re: Axe reader..sorta
« on: December 17, 2011, 11:52:06 pm »
Or, as an alternative to writing on-calc, one could, oh I don't know... Use an 8XP editor and save the text that way? Just a thought, though. ;) *cough* BexIDE *cough*

But in a sense would this be like CatalogHelp for Axe minus the pressing-plus thing? If so, I'd be interested :)

EDIT: Darn it epic... Y U NINJA ME?

337
Gaming Discussion / Re: Omnimaga Steam Group
« on: December 17, 2011, 11:06:35 pm »
Yay! I joined :)

338
@alberthrocks, Well, the errors with the comments highlighting everything does get quite annoying... I'm not going to do it to the main project, though. I'll copy it into another directory and switch to ICSharpCode's in that one.

EDIT: @epic, first what you would need to do is go to the tokens.xml file, and then uncomment the bottom portion (remove the "<!--" and "-->" surrounding the other token group). Then you need to use the template I have at the top (<token text="" bytes="" desc="" />). Anything that goes between the quotes after the text attribute will be how it will be textually visible in the editor. Anything between the quotes of the desc attribute will be displayed as the description in the token viewer. The longest part to create is the byte part. I'll walk through another example. Say you want "CleanUp" to be ClrHome:Output(1,1," on-calc. For bytes, you would need to go and find Clrhome, :, Output(, 1, ',', and ". If you look at the table, ClrHome is 0xE1, : is 0x3E, Output( is 0xE0, the number 1 is 0x31, the comma is 0x2B, and the quote is 0x2A. You would need to combine all of those to get a grand byte value of 0xE13EE0312B312B2A.

339
I think the sprite editor needs the ability for the user to type in hex and have it be shown on the editor. :D
Alrighty, can do! Shan't be hard.
Cool! Right now I'm typing the hex in, storing it to Str1, converting it using a slow basic program, copying the 8x8 pic into the bex hex editor and then editing using that which is very tedious :P

Oh gosh D: that would get quite tiresome lol. Maybe, just maybe, if/when this becomes more of an actual IDE, I could have a window next to the editor that if you're on a line with a sprite declaration on it, it would render that sprite... :D

340
I think the sprite editor needs the ability for the user to type in hex and have it be shown on the editor. :D
Alrighty, can do! Shan't be hard.

Just going to give you a bug report:
1) When you open files already made, the syntax is all green except for strings (which are red)
2) When you invert a sprite, it doesn't invert the hex, it just inverts the table on the program
For Example: Say you had a circle sprite, and you just filled in the black corners and inverted it.
The diagram would look like this:
11000011
10000001
00000000
00000000
00000000
00000000
10000001
11000011
The 0's are white, the 1's are black. Then I click the invert button. The 1's would be replaced with 0's, but the hex, which should be 3C7EFFFFFFFF7E3C, is still this: C3810000000081C3

Other than those things, I haven't found anything yet!
1) That's a glitch in either the editor I'm using, the way I'm handling the RegEx, or the way I tell the editor to handle the RegEx. I'm thinking of moving over to ICSharpCode's editor. (@epic, it does that because it only changes highlighting for  what it deems as the changed area.)
2) It changes the sprite in memory, but I guess when you invert it I'm just not updating the displayed hex value. Thanks, though! :) I'll fix that.

@alberthrocks woo! Well, somewhat lol. I'm going to guess Linux only accepts the forward-slash, and not the back-slash, for file path's? I believe it doesn't matter for Windows, so if the different slashes are the problem, that's an easy fix :D That might be why it can't find the settings file (because Application.StartupPath seems to be working fine). The other errors seem to be from the editor (it's called FastColoredTextBox). If I switch over to ICSharpCode's editor by adding the entire project, maybe that'll help fix it? (It is written in C# as well.)

EDIT: Thanks a lot guys, seriously. This means a lot to me :)

341
Computer Programming / Re: Visual Basic savefile error
« on: December 17, 2011, 04:24:10 pm »
According to the error you're getting in the exception message box, you have that file open somewhere else. I'm a little rusty on my Visual Basic, but something like this should work for you: (this is the way I normally do it, if I don't split into other methods)
Code: [Select]
Private Sub ToolStripButton4_Click(sender As Object, e As System.EventArgs) Handles ToolStripButton4.Click
    Dim save As New SaveFileDialog
    save.Filter = "Nspire Lua files (*.lua)|*.lua|txt files (*.txt)|*.txt|All files (*.*)|*.*"
    save.FilterIndex = 2
    save.RestoreDirectory = True
    save.CreatePrompt = True
    save.OverwritePrompt = True
    If save.ShowDialog() = DialogResult.Ok Then
        System.IO.StreamWriter writer
        Using writer As New System.IO.StreamWriter(save.FileName)
            writer.Write(addText.Text)
        End Using
    End If
End Sub

EDIT: What "Using" does is if the class you specify to "Use" is disposable, then all of the cleanup will be handled for you (i.e. closing, disposing, etc.)

342
Just a little informative before the next release: parsing "extra" tokens (the third-party library ones as well as custom ones) now works regardless of byte length. ^^

343
Computer Programming / Re: Java files?
« on: December 16, 2011, 11:29:18 pm »
Sorry, I just replied to your PM. I didn't navigate for a while, so I didn't see it.

344
Computer Programming / Re: Java files?
« on: December 16, 2011, 10:28:15 pm »
Lol, no problem. Good luck! :)

345
Computer Programming / Re: Java files?
« on: December 16, 2011, 10:24:31 pm »
...A good IDE to use for beginning would definitely be BlueJ.
^ there :P

Pages: 1 ... 21 22 [23] 24 25 ... 49