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
« on: December 18, 2011, 12:42:22 am »
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
« on: December 18, 2011, 12:33:12 am »
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
« on: December 18, 2011, 12:13:23 am »
People could also write their own books! But thanks! That's awesome! I love ABR and I'm getting a shirt for Christmas I wish I saw them live though
334
« 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!
335
« 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
« 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
« on: December 17, 2011, 11:06:35 pm »
Yay! I joined
338
« on: December 17, 2011, 08:14:02 pm »
@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
« on: December 17, 2011, 08:09:17 pm »
340
« on: December 17, 2011, 08:03:07 pm »
I think the sprite editor needs the ability for the user to type in hex and have it be shown on the editor.
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 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
« 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)
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
« on: December 17, 2011, 04:11:18 pm »
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
« 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
« on: December 16, 2011, 10:28:15 pm »
Lol, no problem. Good luck!
345
« on: December 16, 2011, 10:24:31 pm »
...A good IDE to use for beginning would definitely be BlueJ.
^ there
Pages: 1 ... 21 22 [23] 24 25 ... 49
|