ASM Tag
#1
Posted 26 April 2012 - 08:07 PM
#2
Posted 27 April 2012 - 04:20 PM
#3
Posted 28 April 2012 - 02:10 PM
#4
Posted 28 April 2012 - 02:14 PM
Edit: in addition, what if the people using the code boxes are using it to display code that isn't assembly for example? is there some sort of flag or trigger to turn off the colours just in case? As an example, I've used code boxes to display raw hex values for such things as SMPS data.
#5
Posted 28 April 2012 - 05:33 PM
#6
Posted 28 April 2012 - 08:09 PM
#7
Posted 29 April 2012 - 12:14 AM
#8
Posted 29 April 2012 - 02:19 PM
It's another of the issues the highlighting script used by the ASM tag, but as you can see I quick fixed it by removing the possessive apostrophe from "Hivebrain's". The reason why it happens is because the script looks for a closing apostrophe/quoatation mark after it comes across an opening one of either, because it doesn't find one, all the text after it is parsed as being part of the quote. I ain't all that hot at Javascript to even tweak the script to take possessive apostrophes into consideration. I may be able to move the apostophe from the parsing/style group it's in and place it in the group for regular text, that could prevent the fucked parsing when using possessive apostrophes.The tagging needs tweaking a bit. If you go to this topic, you can see in the first part of the ASM, half of it is yellow. Also, anything that has been commented should be highlighted the same, like it does in notepad 2, it makes all comments green.
#9
Posted 29 April 2012 - 02:33 PM
#10
Posted 29 April 2012 - 02:39 PM
#11
Posted 29 April 2012 - 02:45 PM
Ah, that's happening as a result of a function Jim added to the highlighting script. I switched to the original unmodified script, and the post re-aligned nicely. I'll make the changes to the public skins and you can see for yourself.Ugh, there's another serious issue with these new ASM boxes: Look at this topic. All of the tabs were replaced by an inconsistent number of spaces, and it looks just ugly. Any chance to fix it?
Update: made the changes to the public skins.
#12
Posted 29 April 2012 - 04:17 PM
#13
Posted 29 April 2012 - 04:39 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











