February 04, 2012, 03:19:09 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Please report any bugs or issues that you might be encountering with the Beta in the Support System so that we can better keep track of any oustanding issues that may come up.

GameCore Support System
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Syntax highlighting in Google Programmers Notepad?  (Read 936 times)
Jim
Jr. Member
**
Posts: 85



View Profile WWW
« on: September 05, 2009, 11:37:34 PM »

None of my files are having syntax highlighted... Suggestions?
Logged

www.gamecreation.ca - gamecore stuff.
gekido
Guest
« Reply #1 on: September 07, 2009, 10:56:21 AM »

i've been fighting with programmer's notepad for a bit as well - since they updated it to version 2 it isn't behaving for me either, which is annoying because it has a lot of project / file management features that I like.

i'll post more news when i figure it out.  they have next to no documentation as well, which doesn't really help.
Logged
LutinMalefique
Full Member
***
Posts: 146



View Profile WWW
« Reply #2 on: September 07, 2009, 01:49:47 PM »

same here but after installing the last portable version (overwrite all the files in scripteditor folder), everything works
Logged

http://lutinmalefique.wordpress.com/
"Just remember: a damn game can be played, and if you have not created something that can be played, it's not a damn game!" Derek Yu
Ron
Sr. Member
****
Posts: 326


View Profile
« Reply #3 on: September 07, 2009, 02:39:51 PM »

I'm not sure what I am missing  Huh, but I still prefer www.scintilla.org
Logged
Jim
Jr. Member
**
Posts: 85



View Profile WWW
« Reply #4 on: September 07, 2009, 03:54:44 PM »

Well I am only using Pn because it came with the GameCore release, it is pretty nice though... I believe it is based on Scite though?

LutinMalefique, you say the portable update helped? I updated to the latest version with the installer option and it didn't seem to fix anything :S

It doesn't have any schemes or file types other then "plain text" and won't recognize the gamecore files as scripts... Maybe I can use the portable update over the update I just did?
Logged

www.gamecreation.ca - gamecore stuff.
Jim
Jr. Member
**
Posts: 85



View Profile WWW
« Reply #5 on: September 07, 2009, 04:08:45 PM »

I got the portable version as recommended and it seems to have done the trick... Thanks Smiley

Not sure what the scripts window is for?
« Last Edit: September 07, 2009, 04:11:47 PM by Jim » Logged

www.gamecreation.ca - gamecore stuff.
gekido
Guest
« Reply #6 on: September 07, 2009, 04:21:13 PM »

Got a response from the PN folks:

Quote
Here is what should be happening with the schemes: PN first reads the "master.scheme"
file from the schemes directory. This has an include directive for *.scheme which
causes all of the remaining schemes to be read. When each scheme is read it is
compiled and a .cscheme file is created for it in the user settings directory. With a
standard install on vista this would be:

c:\users\[youruser]\appdata\roaming\echo software\pn2

If that directory doesn't exist, then PN has not been able to create it and you'll
probably need to use the portable edition. This directory should always be writable
for applications, but sadly some IT departments mess this up.

What I did was go into the appdata directory as listed above and deleted all of the files that PN created there, then restarted PN and it seems to work now (ie I can change schemes etc again).

Not sure what the issue was, might have been as a result of upgrading from PN 1 to 2 or something.

The choice of script editor's is definitely up to you - programmer's notepad is indeed built on the scite / scintilla base - although PN provides a lot of extra usefulness via the projects / workspace views - I use it to do something like this:



Basically to do this you create a project using programmer's notepad and then in the project add a 'smart folder' - which basically allows you to create filters of file types, which then allows you to easily navigate / manage the script / layout etc files in your project.

Gives you sort of a visual studio type of project view with easy access to certain types of files.
« Last Edit: September 07, 2009, 04:23:11 PM by gekido » Logged
Jim
Jr. Member
**
Posts: 85



View Profile WWW
« Reply #7 on: September 07, 2009, 05:47:00 PM »

That's the setup I'm using as well, except I haven't added the default library (haven't used it yet).

Thanks for the answer. I might look into making a GameCore GSL - AngelScript theme, but for now I am just using C++.

I don't have a pn folder in my user folder, maybe I needed to "run as admin" when I installed, but it is working now with the portable files.
Logged

www.gamecreation.ca - gamecore stuff.
Pages: [1]
  Print  
 
Jump to:  

 
Powered by MySQL Powered by PHP bluBlur Skin © 2006, hbSkins
Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Valid XHTML 1.0! Valid CSS!