Author Topic: User-submitted tutorials / How-To's  (Read 98648 times)

0 Members and 5 Guests are viewing this topic.

Offline Omni

Re: User-submitted tutorials / How-To's
« Reply #75 on: December 18, 2010, 11:41:54 PM »
If you come to a highlighting consensus please post a concise list here please so I can refer back to it.

Offline Collector

Re: User-submitted tutorials / How-To's
« Reply #76 on: December 18, 2010, 11:43:59 PM »
Companion does not italicized  the comment, but are green.

Highlighting differences are as follows. Troflip's key words are blue and integers a dark red. Brian's are both blue. Brian's strings are green, while Companion uses red. Studio's parentheses and arithmetic operators are dark purple while Companion's are black. Can't say that I am too fond of Companion's strings.

I'd say to start from Studio's, but change the comments to gray. Should the key words and integers be different?
« Last Edit: December 18, 2010, 11:47:52 PM by Collector »
KQII Remake Pic

Offline gumby

Re: User-submitted tutorials / How-To's
« Reply #77 on: December 19, 2010, 09:13:52 AM »
I also think that the Companion highlighting is easier to read.  With that, I'd vote for:

-  Text in single quotes to be red (Said() strings)
-  Text in double-quotes.  (Print statements, includes) - Not sure.
-  Comments to be light green
-  Operators - not sure, purple doesn't come through very well
-  Keywords - blue, like you've got em

However, these are based on my own biases - I'm sure I'd adapt to whatever is decided.  Just putting in syntax highlighting is a major improvement!
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline MusicallyInspired

Re: User-submitted tutorials / How-To's
« Reply #78 on: December 19, 2010, 01:58:40 PM »
Indeed, as long as there's something it'd be great. I kinda like the bright-red strings in Companion, though.
Brass Lantern Prop Competition

Offline Collector

Re: User-submitted tutorials / How-To's
« Reply #79 on: December 19, 2010, 03:37:09 PM »
I have altered the PHP file to make the comments gray, which makes Studio's much easier to read. I guess that I like gray for comments because most of the things I do have gray comments. It makes it easier to ignore the comments when you want to concentrate on just the code. Brian's comments are so "in-your-face" that it makes it hard to read the code. The red is the one thing I don't like about Companion's because it is rather distracting. Perhaps if it was dimmed down a bit?

I have also started to add categories. This could be one of the best ways to organize the pages. You ca see the main Wiki page for more on this.
KQII Remake Pic

Offline gumby

Re: User-submitted tutorials / How-To's
« Reply #80 on: December 19, 2010, 07:05:36 PM »
Hey, maroon would be fine with me.  Just as long as it's differentiated from doubly-quoted strings.
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline Collector

Re: User-submitted tutorials / How-To's
« Reply #81 on: December 20, 2010, 12:53:11 AM »
OK, what I came up with is

* blue for keywords
* dark blue for integers
* green for operators
* red for single quote strings (slightly darker that the bright red of companion)
* orange for double quote strings
* gray for comments

You can play around with different code on the test page to try these colors out, http://sierrahelp.com/SCI/Wiki/index.php?title=Test_page

Once we come to a consensus I will post a list in hex for Omni.
KQII Remake Pic

Offline MusicallyInspired

Re: User-submitted tutorials / How-To's
« Reply #82 on: December 20, 2010, 11:17:36 AM »
Sounds good to me.
Brass Lantern Prop Competition

Offline gumby

Re: User-submitted tutorials / How-To's
« Reply #83 on: December 20, 2010, 02:20:14 PM »
Looks good, but for some reason the green operators are throwing me off.  It might just be the green parentheses, I'm not sure.  Would black be a better choice for the parentheses?
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline Collector

Re: User-submitted tutorials / How-To's
« Reply #84 on: December 20, 2010, 02:51:19 PM »
Actually, the green comes from the extension author's C++ highlighting. I could change it, but wouldn't it be good to make them standout a bit? One missing closing parenthesis can make code fail. Perhaps a bit darker green?
KQII Remake Pic

Offline Collector

Re: User-submitted tutorials / How-To's
« Reply #85 on: December 20, 2010, 03:39:00 PM »
I changed it to a bit of a darker green so the parentheses don't stand out so much, but is still a bit distinct. In hex:

* blue for keywords - #0000FF
* dark blue for integers - #000099
* dark green for operators - #006633
* red for single quote strings - #CC0033
* orange for double quote strings - #FF6600
* gray for comments - #999999
KQII Remake Pic

Offline gumby

Re: User-submitted tutorials / How-To's
« Reply #86 on: December 20, 2010, 03:55:09 PM »
Actually, the green comes from the extension author's C++ highlighting. I could change it, but wouldn't it be good to make them standout a bit? One missing closing parenthesis can make code fail. Perhaps a bit darker green?
I gotcha.  I wasn't thinking about interactive syntax highlighting, just readability.  I really like the darker green as opposed the lighter green.  What you've got now works for me!
In the Great Underground Empire (Zork port in development)
Winter Break 2012 Rope Prop Competition

Offline Collector

Re: User-submitted tutorials / How-To's
« Reply #87 on: December 20, 2010, 09:45:29 PM »
Well, if everyone else agrees, I'll go with this for the Wiki. It isn't too far off from Companion, but I think it is easier to read. I, too dislike anything that stands out too much. It is especially irritating when you have to stare at the same bit for extended periods trying to find where a script is broken. Also, if Omni changes Studio's highlighting to match, I'll redo that tutorial and help file to match.
KQII Remake Pic

Offline MusicallyInspired

Re: User-submitted tutorials / How-To's
« Reply #88 on: December 20, 2010, 11:41:47 PM »
Oh wait, is it possible (if everyone agrees) that you could switch the colours for the single quote strings and double quote strings? Companion's single quote strings are brown and the double quotes are red. I don't mind the darker red and the orange as replacements, but it looks odd to me to have them reversed. Again, if everyone doesn't mind.
Brass Lantern Prop Competition

Offline Collector

Re: User-submitted tutorials / How-To's
« Reply #89 on: December 20, 2010, 11:44:09 PM »
I don't mind. I think the main thing is to have the difference. So that would be:

* blue for keywords - #0000FF
* dark blue for integers - #000099
* dark green for operators - #006633
* orange for single quote strings - #FF6600
* red for double quote strings - #CC0033
* gray for comments - #999999
« Last Edit: December 20, 2010, 11:48:24 PM by Collector »
KQII Remake Pic


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.058 seconds with 22 queries.