New Color Scheme (Tango Dark)

New Color Scheme (Tango Dark)

32
Basic UserBasic User
32

    Jul 08, 2008#1

    I've made a loose port of Tango Dark, which was originally done for gedit, and authored by Paolo Maggi.

    You'll need to edit your "Uedit32.INI" file...so please make a backup first.

    Please open the file with UltraEdit.

    Below [user_name] generically representing the User Account, in which you wish to edit settings for.

    "Uedit32.INI" is typically found in:

    Code: Select all

    C:\Documents and Settings\[user_name]\Application Data\IDMComp\UltraEdit\
    With the file open in UltraEdit press CTRL+F and search for "User Color Schemes", once found make the below suggested changes. If "User Color Schemes" is not found then press CTRL+END so that you are now at the last line entry of the INI file and then past in everything contained in the CODE block below plus one blank line afterwards.

    General Editor Scheme

    Code: Select all

    [User Color Schemes]
    0=Tango Dark;13621203;3552302;15527662;8751752;13621203;5461845;8081525;0;13621203;0;13621203;3552302;0;164;0;1776151;0;8751752;0;1776151
    1=Tango Dark Alt;13621203;3552302;15527662;8751752;13621203;2631458;8081525;0;13621203;0;13621203;3552302;0;164;0;1776151;0;5461845;0;1776151
    After having made the above changes press CTRL+S to save the file. Now from the menu's select "View\Set Colors...". A dialog should now be displayed, please select ether of the new Tango Dark base scheme's, primary difference between the two is a lighter or darker colored active line background. The ALT version being the one with the darker background.

    Note there is a bug in the dialog which has it selecting the last scheme available, rather than the proper one.

    Next press CTRL+F and search for "Language * Colors" with regular expressions enabled. For each Language Color scheme paste in the values in the below CODE block for "Colors \ Colors Auto Back \ Colors Back \ Font Style".

    Additionally four posts down I outline how to use a regular expression Search and Replace that will alter all occurrences.

    Lang Scheme

    Code: Select all

    [Language 14 Colors]
    Colors=13621203,8751752,8751752,54509,13621203,7256553,13606770,3465866,2697711,4108284,31221,1146305,13621203,
    Colors Auto Back=1,1,1,1,1,1,1,1,1,1,1,1,1,
    Colors Back=3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,
    Font Style=0,0,0,0,0,1,0,0,0,0,0,0,0,
    If there are no occurrences of "Language * Colors" then proceed to press CTRL+END to arrive at the end of the document and then paste the above CODE block followed with blank line afterwards. Be sure to edit the numeric value each time, starting at 1-13 plus any additional values to correspond with values added in your "wordfile.uew".

    Once done please press CTRL+S to save the file, and you are now done.

    Enjoy
    Tango - Dark.png (51.39KiB)

    25
    Basic UserBasic User
    25

      Jul 18, 2008#2

      Very slick. Thanks!

      32
      Basic UserBasic User
      32

        Jul 22, 2008#3

        Your most welcome.

        Not sure how much interest there is in different color schemes...mainly since I think this is the first alternate one for UE.

        Well maybe I'll port some other schemes over in time.

        1
        NewbieNewbie
        1

          Dec 02, 2008#4

          This is sexy! Great job, Nologic!

          Also, I'm very happy that UltraEdit supports color customizations like this, and that the community is embracing it.

          Incidentally, is there any kind of tool for installing these? It's kind of cumbersome to alter all of the different languages.

          32
          Basic UserBasic User
          32

            Dec 09, 2008#5

            Sorry for the delayed reply...don't wonder in here that often.

            Actually there is/isn't...open the "uedit32.ini" file in UltraEdit and use an UltraEdit regular expression to find and replace all of them.

            Find:

            Code: Select all

            ^[Language ^(*^) Colors^]^pColors=*^pColors Auto Back=*^pColors Back=*^pFont Style=*^p
            Replace (newer builds):

            Code: Select all

            [Language ^1 Colors]
            Colors=13621203,8751752,8751752,54509,13621203,7256553,13606770,3465866,2697711,4108284,31221,1146305,13621203,
            Colors Auto Back=1,1,1,1,1,1,1,1,1,1,1,1,1,
            Colors Back=3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,3552302,
            Font Style=0,0,0,0,0,1,0,0,0,0,0,0,0,^p
            Older builds you would likely have to make the replace text a single line...thus adding in your own "^p" to split it accordingly.

            1
            NewbieNewbie
            1

              Jan 02, 2009#6

              Hello-

              I cannot find the [Language 14 Colors] line in my .ini file. I am using the latest UE (v14.20.1.1001), and I notice when I change a color for say "comments" I cannot find out where this data is stored! I cannot find any [Language ^1 Colors] entries in any file, even when I change one or 2.

              I successfully added the color theme itself, so I have the dark background, but I would like to install your color scheme for my language highlighting and cannot seem to find any of the files UE uses to make the edits, besides doing it manually and trying to eyeball your colors.

              Thanks for the help!

              6,675585
              Grand MasterGrand Master
              6,675585

                Jan 03, 2009#7

                The full name of the INI file used is displayed at Advanced - Configuration - Application Layout - Advanced.

                Or do you store nearly all UE settings including the syntax highlighting colors and styles in the registry?

                Look on setting Use Registry for settings (not INI file) at Advanced - Configuration - Application Layout - Advanced.

                If you use the registry, you have to import the color settings with a *.reg file or use Regedit.exe and edit the appropriate values at HKEY_CURRENT_USER\Software\IDM Computer Solutions\UltraEdit.
                Best regards from an UC/UE/UES for Windows user from Austria

                2362
                MasterMaster
                2362

                  Apr 10, 2009#8

                  I have written a short collection of macros to assist with the syntax highlighting issues with version 15+ of UltraEdit. Included in that package is the ability to Export and Import colors for sharing with others.

                  The import feature makes it easy to bring colors in from either other wordfiles or from exports that other users have made using the same macro package.

                  See my post at Adding wordfiles in UE 15 for more information. (The Tango Dark is being included in the package with full credit to Nologic.)

                  I hope this package will encourage more sharing of themes between users.
                  “Don’t document the problem, fix it.” – Atli Björgvin Oddsson

                  2
                  NewbieNewbie
                  2

                    Apr 11, 2009#9

                    I have another question, where can I find info on doing my own "User Color Scheme"? Or, how did Nologic come up with the following:
                    [User Color Schemes]
                    0=Tango Dark;13621203;3552302;15527662;8751752;13621203;5461845;8081525;0;13621203;0;13621203;3552302;0;164;0;1776151;0;8751752;0;1776151
                    1=Tango Dark Alt;13621203;3552302;15527662;8751752;13621203;2631458;8081525;0;13621203;0;13621203;3552302;0;164;0;1776151;0;5461845;0;1776151
                    Thanks for your help,

                    Marc

                    2362
                    MasterMaster
                    2362

                      Apr 11, 2009#10

                      Open UltraEdit, go to "Advanced -> Configuration -> Editor Display -> Miscellaneous".

                      Click the Set Colors button.

                      Set all your custom colors that you would like. Then click Save. It will give you a new saved Color Scheme like "User Color Scheme 6" or whatever the next number is.

                      Open up your Uedit.ini file, and search for [User Color Schemes].

                      You can manually edit and change the name from the default "User Color Scheme 6" or whatever the number was to whatever you would like to name it, like Nologic's example of "Tango Dark", etc.

                      You can then share them with others by using the painstaking copy from INI file and copy into INI file. I can't tell you what each number in order is for, but I could do some testing to find out. I don't really have the time or interest in that right at the moment.
                      “Don’t document the problem, fix it.” – Atli Björgvin Oddsson

                      2
                      NewbieNewbie
                      2

                        Apr 12, 2009#11

                        Thanks rhapdog,

                        That's the info I was looking for, no need for testing.

                        Marc

                        32
                        Basic UserBasic User
                        32

                          Apr 12, 2009#12

                          Magi -

                          You can find a break down of things for pre 15.x builds here...which more or less carries over to 15.x when cross referenced with the information posted here.

                          rhapdog -

                          Thanks for the credits but the praise should be going to Paolo Maggi who authored the original. :)

                          Mofi -

                          As always, thanks for being a huge help to everyone.

                            Apr 14, 2009#13

                            Well I just moved over to 15.xx and while the new way of doing color schemes is for the most part a direct port...hehe it still sucked. I'd highly suggest that rhapdog post his macro's and people make good use of them.

                            Other wise its a far amount of regex involved.

                            Search:

                            Code: Select all

                            /Colors = *^p/Colors Back = *^p/Colors Auto Back = *^p/Font Style = *^p
                            Replace:

                            Code: Select all

                            /Colors = 13621203,8751752,8751752,54509,13621203,
                            /Colors Back = 3552302,3552302,3552302,3552302,3552302,
                            /Colors Auto Back = 1,1,1,1,1,
                            /Font Style = 0,0,0,0,0,*^p
                            Enumerated Search (1-8):

                            Code: Select all

                            /C#^(*^) Colors = * Colors Back = *^p
                            Enumerated Replace (1-8):

                            Code: Select all

                            /C1^1 Colors = 7256553 Colors Back = 3552302 Colors Auto Back = 1 Font Style = 1^p
                            /C2^1 Colors = 13606770 Colors Back = 3552302 Colors Auto Back = 1 Font Style = 0^p
                            /C3^1 Colors = 3465866 Colors Back = 3552302 Colors Auto Back = 1 Font Style = 0^p
                            /C4^1 Colors = 2697711 Colors Back = 3552302 Colors Auto Back = 1 Font Style = 0^p
                            /C5^1 Colors = 4108284 Colors Back = 3552302 Colors Auto Back = 1 Font Style = 0^p
                            /C6^1 Colors = 31221 Colors Back = 3552302 Colors Auto Back = 1 Font Style = 0^p
                            /C7^1 Colors = 11042733 Colors Back = 3552302 Colors Auto Back = 1 Font Style = 0^p
                            /C8^1 Colors = 13621203 Colors Back = 3552302 Colors Auto Back = 1 Font Style = 0^p
                            Example Search:

                            Code: Select all

                            /C1^(*^) Colors = * Colors Back = *^p
                            Example Replace:

                            Code: Select all

                            /C1^1 Colors = 7256553 Colors Back = 3552302 Colors Auto Back = 1 Font Style = 1^p

                            2362
                            MasterMaster
                            2362

                              Apr 14, 2009#14

                              Ah, finally. A request for the macros.

                              Very well, the macros can be downloaded from the following link.

                              UE15 Syntax Color Helpers
                              “Don’t document the problem, fix it.” – Atli Björgvin Oddsson

                              32
                              Basic UserBasic User
                              32

                                Apr 15, 2009#15

                                Thanks for the macro's, pure time saver.

                                Read more posts (18 remaining)