User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Code colorisation

  1. #11
    No Products Registered

    Join Date
    Jun 2006
    Location
    here
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Code colorisation

    Looks good!

    Seems to have a problem with things like:

    "a'b" + 'c"d'

    since it gets confused with the quotes, but otherwise it's great <img src="/center/images/graemlins/smile.gif" alt="" />

  2. #12
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Code colorisation

    Thanks. if you have a solution for this confusion... I don't know how to make a good regular expression for this thing. <img src="/center/images/graemlins/wink.gif" alt="" />

  3. #13
    No Products Registered

    Join Date
    Jun 2006
    Location
    here
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Code colorisation

    Something along the lines of:

    "[^"]*"

    and:

    '[^']*'

    (split into 2 syntaxes) should work I think. I can't remember if strings are escaped in LUA, in which case, you'd need to add something to recognise \' and \" but I can't think of a solution for that.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Is there any way to see the code?
    By Valerio in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 25th February 2010, 08:59 PM
  2. RGB into Hex code?
    By Game_Master in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th October 2009, 09:37 AM
  3. Using DLL or Code
    By Pegasus_Seiya in forum Extension Development
    Replies: 0
    Last Post: 12th June 2009, 04:43 PM
  4. V-Code Generator Source Code
    By LB in forum File Archive
    Replies: 1
    Last Post: 10th March 2008, 08:52 PM
  5. Colorisation de code temps réel (MMF2 Dev)
    By Sphax in forum File Archive
    Replies: 13
    Last Post: 18th February 2007, 09:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •