Difference between revisions of "Wiki Discussion"

From AGI Wiki
Jump to navigationJump to search
 
(3 intermediate revisions by one other user not shown)
Line 19: Line 19:
  
 
--[[User:Andrew Branscom|Andrew Branscom]] ([[User talk:Andrew Branscom|talk]]) 21:24, 23 March 2019 (EDT)
 
--[[User:Andrew Branscom|Andrew Branscom]] ([[User talk:Andrew Branscom|talk]]) 21:24, 23 March 2019 (EDT)
 +
 +
 +
I think I figured out what I did wrong; I forgot to comment out an extra closing parenthesis on line 94. I bet if you do that, it should work properly.
 +
 +
--[[User:Andrew Korson|Andrew Korson]] ([[User talk:Andrew Korson|talk]]) 10:17, 24 March 2019 (EDT)
 +
 +
I see you are renaming a number of pages to give a more meaningful title. Would you like me to name the command pages with more than just the command? For example "Block Command" or "AGI Logic Commmand: Block" or some other format? (I don't know how to change names for existing pages)
 +
 +
--[[User:Andrew Korson|Andrew Korson]] ([[User talk:Andrew Korson|talk]]) 15:24, 24 March 2019 (EDT)
 +
 +
I took some time this weekend to study the syntax highlighter addon, and now that I know the details, I was able to edit the AGI highlighter file. This file has been thoroughly verified on a test server so I know it works. I added a number of elements that can now be highlighted separately; all the test commands as a group, all the action commands as a group, all preprocessor commands as a group; all the assignment, comparison and punctuation symbols; all argument types (c#, f#, i#, m#, s#, v#, w#).
 +
 +
I don't know how much highlighting you would like- you might like different colors for some of the elements. The highlighting part is relatively easy to modify without causing problems (as long as you don't change any of the element assignments). So you might want to change the colors and styles for the elements before incorporating the file. And if you have specific questions about how to edit the file, let me know.
 +
 +
thx,
 +
--[[User:Andrew Korson|Andrew Korson]] ([[User talk:Andrew Korson|talk]]) 20:37, 1 April 2019 (EDT)
 +
 +
[[Category:Discussions]]

Latest revision as of 22:04, 1 June 2024

A page to discuss Wiki issues.

--Andrew Branscom (talk) 11:28, 23 March 2019 (EDT)


Attached is the current php file for the AGI syntax highlighting.

File:Agi php.zip

--Andrew Branscom (talk) 11:31, 23 March 2019 (EDT)


I uploaded an updated php file that should properly highlight AGI syntax

--Andrew Korson (talk) 16:23, 23 March 2019 (EDT)


That causes a page that calls the highlighter to not render properly, so I set it back to the old one for now. If I get a chance I'll take a look at it.

--Andrew Branscom (talk) 21:24, 23 March 2019 (EDT)


I think I figured out what I did wrong; I forgot to comment out an extra closing parenthesis on line 94. I bet if you do that, it should work properly.

--Andrew Korson (talk) 10:17, 24 March 2019 (EDT)

I see you are renaming a number of pages to give a more meaningful title. Would you like me to name the command pages with more than just the command? For example "Block Command" or "AGI Logic Commmand: Block" or some other format? (I don't know how to change names for existing pages)

--Andrew Korson (talk) 15:24, 24 March 2019 (EDT)

I took some time this weekend to study the syntax highlighter addon, and now that I know the details, I was able to edit the AGI highlighter file. This file has been thoroughly verified on a test server so I know it works. I added a number of elements that can now be highlighted separately; all the test commands as a group, all the action commands as a group, all preprocessor commands as a group; all the assignment, comparison and punctuation symbols; all argument types (c#, f#, i#, m#, s#, v#, w#).

I don't know how much highlighting you would like- you might like different colors for some of the elements. The highlighting part is relatively easy to modify without causing problems (as long as you don't change any of the element assignments). So you might want to change the colors and styles for the elements before incorporating the file. And if you have specific questions about how to edit the file, let me know.

thx, --Andrew Korson (talk) 20:37, 1 April 2019 (EDT)