Code center > Darwinbots3

Programming task (DNA editor)

<< < (5/9) > >>

Numsgil:
I don't know much about what Scintilla does and doesn't do.  But basically, for compile messages, I'd wait for the user to pause typing (maybe something like 1 second after the last key stroke), and then spawn a helper thread that uses the parsing in Sunweaver to build the DNA, and then when the thread is down you can do the red squiggly lines for an error.  I'm not sure what that feature is called, though, so I'm not sure what to look for in the Scintilla documentation.  Also you might try posting questions on stack exchange or possibly a Scintilla forum if there is one.  Often times just having someone who knows a library point you in the right direction is hugely helpful.

Panda:
Sorry, I didn't make that clear, I've basically done that for everything but the __anon# and other things. Think I have it sorted, though.

Numsgil:
Ah, grand :D

Panda:
Scintilla requires some of its dlls to be in the search path, do you know of any way to get around that otherwise getting it working easily with SVN will be a bugger?

EDIT: I think I've got the basics of Syntax Errors and Sytax Highlighting down, unless you want the different commands separated, but I'm unsure how I'll do that yet, other than doing it all manually.

I'm not going to do the "go to definition" as of yet as that is just going to be a headache and I cannot be bothered with that. XD I'm going to get the other basic features like saving and loading, multiple files open in a tabbed view, getting the error message list to jump to messages, and some basic customisation.

Numsgil:
Are they native DLLs?  That always gets gross.  Still we can probably set up a post build step to copy the native dlls to bin/release along with the finished executable.  If they're managed DLLs, we can just add references to them to the project and I think Visual Studio will handle copying them to the destination directory.

When you have something in a good state, zip up however you've set it up (code and all), and I'll figure out where to put all the bits and bobs.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version