Author Topic: SciTe Files  (Read 14585 times)

0 Members and 4 Guests are viewing this topic.

kryton9

  • Guest
Re: SciTe Files
« Reply #15 on: July 01, 2011, 02:38:46 AM »
I know and here is the kicker....
intellisense.

just place these two file in your ide folder.
make .o2bas file and type in len(    or  left(    or mid(

I also put in the whole opengl and winapi files. I downloaded these, so that was easy. So when you start typing in those functions tips come up too :)

Don't forget these go in the ide folder.  This is neat.
Now we need to figure out how to do our classes with their methods next!

You can read more about how this stuff works and looks like in SciTe from here:
http://www.burgaud.com/scite-java-api/     this shows it for Java, but it gives a good idea.

removed attachments, newer version in new post further on the page
« Last Edit: July 01, 2011, 01:31:00 PM by kryton9 »

kryton9

  • Guest
Re: SciTe Files
« Reply #16 on: July 01, 2011, 11:18:01 AM »
I just bumped this as not sure if you saw it, since no downloads :)

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #17 on: July 01, 2011, 12:29:59 PM »

Nice Work! Thanks Kent. I'll include and post it now

Charles

kryton9

  • Guest
Re: SciTe Files
« Reply #18 on: July 01, 2011, 01:30:12 PM »
Just updated it a little. Not working as I had hoped, but still better than nothing.

As you type, you can press ctrl spacebar it will bring up the autocomplete box and as you type it brings up items for auto completion without having it in the document first.

I added a new syntax to make the tips better.

So for this example: I typed t.  then ctrl+spacebar and then GetF and at that point GetFPS showed up in the list. Then I hit enter and typed ( and the tip appeared.

Updated files, so removed the files. The new files are a couple of posts down.
« Last Edit: July 01, 2011, 11:48:42 PM by kryton9 »

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #19 on: July 01, 2011, 08:27:55 PM »

Thanks Kent,

I have updated and posted. I spotted a typo in oxygen.properties keywords. I entered fress and corrected it to frees.

Charles

kryton9

  • Guest
Re: SciTe Files
« Reply #20 on: July 01, 2011, 10:12:54 PM »
That's great. I had fun making this screen capture video. Hopefully it will bring an exciting new way for us to share ideas and instructions.
Video Out of Date, so removed the link:

I made so many changes to both the .api and .properties file, that I decided to upload the latest I have to match what you see in the video.

Updated files again. Check below.
« Last Edit: July 02, 2011, 04:54:46 PM by kryton9 »

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #21 on: July 02, 2011, 04:42:50 AM »
Thanks Kent. I have updated these files.

I enjoyed watching your video. Great to hear your voice for the first time. I need to view again to catch the keyboard controls you were using.

I am not mentally geared up for making videos yet but I'll work on it :)

Charles

kryton9

  • Guest
Re: SciTe Files
« Reply #22 on: July 02, 2011, 01:01:10 PM »
I am glad you enjoyed the video and I am glad you mentioned the keystrokes. I need to find and install a program that displays the keystrokes ontop of the video. It might even be an option for that program. I will check and have it enabled or installed the next video I do. It is nice to see every special key press displayed somewhere.

Something we could do maybe once we figure it out is have a skype or google talk session and record that, like a question and answer or interview style. Having 2 people always makes videos more interesting. With skype for instance you could share your desktop and then what you do I can see and I could record that while we talked.

After making that video and thinking about it... I am going to work on trying to pull out the user made code from the Oxygen.api. This way Oxygen.api would only be changed and maintained by you. Then each user would have their own user.api for their own classes and user defined types.
« Last Edit: July 02, 2011, 01:04:01 PM by kryton9 »

kryton9

  • Guest
Re: SciTe Files
« Reply #23 on: July 02, 2011, 04:59:01 PM »
I got the api files working correctly now.

These are the files now:
Oxygen.api - this will be only touched by Charles, for user defined types, classes, methods and keywords Charles writes for Oxygen
OpenGL.api - pulled the opengl stuff into its own api file, only touched by Charles if need be
Win.api - pulled it out also to its own api file, only touched by Charles if need be
User.api - this will be where users add their own user defined types, classes and class methods tips
I updated Oxygen.properties to use the above api files correctly and also updated the reference.

That attachment has been removed as it is now in the Oxygen download updated by Charles.
« Last Edit: July 02, 2011, 10:35:36 PM by kryton9 »

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #24 on: July 02, 2011, 09:41:19 PM »

Thanks Kent. Yes dividing the files is a good idea. I have posted the updates including all the Oxygen Basic functions. Low level functions and commands I will leave for another session.

Charles

kryton9

  • Guest
Re: SciTe Files
« Reply #25 on: July 02, 2011, 10:34:33 PM »
Thanks Charles. I will delete the attachment so it doesn't confuse any new comers since everything is up to date now.

Maxim

  • Guest
Re: SciTe Files
« Reply #26 on: July 20, 2011, 04:49:07 AM »
Thanks for SciTE for Oxygen Basic.
I work on windows 2000 and publish my binary files for earlier platforms.
Also i have some problem with "Go" command, if executed file have includes and latest opened file is from other directory.

[attachment deleted by admin]

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #27 on: July 21, 2011, 03:21:52 AM »

Hi Maxim,

Welcome to the forum!

I had not envisaged Oxygen being used in the Windows 2000 platform but most of the examples should run. Some will need GDIplus.dll, as an extra for 2000 and Win98. But PCs of this era must be dying out fairly rapidly.

I am uncertain about the GO problem. Could you give an example?

Charles

Maxim

  • Guest
Re: SciTe Files
« Reply #28 on: July 21, 2011, 07:45:43 AM »
Hi Charles.

Error with Oxygen.properties file line 70 (basgo="$(SciteDefaultHome)\gxo2" " $(FilePath)").
If open file_name1.o2bas from directory_name1 wich have file_name.inc requirements and open file_name2.02bas from other directory_name2 then Go(F5) command with first file return error see scite_command_go_error.bmp.
If change FilePath scite variable to FileNameExt - see scite_command_go_error2.bmp.
Compile(Ctrl+F7) or Build(F7) is correct and after Go(F5) also is normal.
Maybe something with the current directory.

This problem is not important for me, what about class error and what section of the forum to use for this topic?

[attachment deleted by admin]

Charles Pegge

  • Guest
Re: SciTe Files
« Reply #29 on: July 21, 2011, 08:43:09 AM »

Thanks Maxim.

Were you using Windows 2000 when you had these problems?

I think I have fixed the AttachObject / Class problem you described in your email. I will post separately.

Charles