The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    how can I change the colour of text in code

    avatar
    mdog77
    New Member


    Posts : 11
    Reputation : 1
    Language : English

    Solved how can I change the colour of text in code

    Post by mdog77 Wed 19 Dec 2012 - 1:42

    I would like the code language used by the users of my forum to be a certain colour. I'm totally new to this forum creation process and I haven't done too bad so far. This is probably the last thing we need adjusting now. The language used for the code is LUA.

    Here is a screen shot:

    how can I change the colour of text in code Code_q10

    it should look something like this:

    function onEnter(zoneName, unitName)
    OFP:activateEntitySet("testset")
    end

    I hope the screen shot gives you good reference???
    (modify) text in the code box yes!
    thanks

    MD


    Last edited by mdog77 on Wed 19 Dec 2012 - 1:46; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: how can I change the colour of text in code

    Post by SLGray Wed 19 Dec 2012 - 1:44

    Please don't use bold or color. Please keep to the default text. This is reserved for the staff for moderation.
    Do you mean the text in the code box?



    how can I change the colour of text in code Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    mdog77
    New Member


    Posts : 11
    Reputation : 1
    Language : English

    Solved Re: how can I change the colour of text in code

    Post by mdog77 Wed 19 Dec 2012 - 1:47

    slg wrote:
    Please don't use bold or color. Please keep to the default text. This is reserved for the staff for moderation.
    Do you mean the text in the code box?

    Sorry about the bold and colour I was trying to show you what I would like to do with the text in the code box. Thanks
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: how can I change the colour of text in code

    Post by SLGray Wed 19 Dec 2012 - 1:51




    how can I change the colour of text in code Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    mdog77
    New Member


    Posts : 11
    Reputation : 1
    Language : English

    Solved Re: how can I change the colour of text in code

    Post by mdog77 Wed 19 Dec 2012 - 2:02

    thats pretty much it, I'll have alook adn see how close it gets to it. But I'm sure that could do it thankyou very much! Very Happy
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: how can I change the colour of text in code

    Post by Sanket Thu 20 Dec 2012 - 5:04

    Topic Solved & Locked

      Current date/time is Mon 23 Sep 2024 - 9:30