Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

New Version of PortablE?

Last updated on 4 years ago
M
magoriumSoftware Dev
Posted 10 years ago
In any case you want to change the syntax-highlight colours then clusters projects is a good resource.

Probably not really for this thread, but in case you ever need help with trying to install icaros then feel free to contact me (albeit the most quickest solution would probably a 1:1 irc chat).

Strange that you run into problems, as i have a nearly identical setup which also houses a n270/gma and am able to run icaros since i dunno when (native installed as well from booting off a pen-drive).

fwiw: i use a virtual machine to install to a 8GB pen-drive (4GB for a full full-install is a bit cramped), boot that installation and then install again.

In case you are a bit short on disk-space you can also opt for not installing everything during installation. It is always possible to do a minimal installation and manually add from the .iso after initial install.

In case you try to install from cd to (external) usb hd, then it could be that something is messing with the usb during installation. My motto (as always), do not use any hubs and remove any other hardware when possible. In case you are cramp on usb port, make sure the installation HD is on a seperate header (again when possible) and connect mouse/keyboard (when absolutely needed) to another header (using a hub when absolutely necessary).

Sometimes using another hub helps (but better remove them, at least during installation).

In basics, aspireOS is no different then icaros desktop as they are based on the same nightlies (one a bit newer now, but just the same). So i wonder where/why things go wrong for you.

FWIW: when i connect a fat32 formatted pen-drive to my hub, my usb mouse and keyboard (that live on the same hub ) spontaniously disconnect, so that i have to re-insert them.

But, as said. Perhaps not for this thread.

For now, enjoy programming with portablE :D
amigamiaamigamiaAdmin
Posted 10 years ago
I just managed to get icaros installed on my 8GB USB drive. Not sure if it matters but what I did different this time was to use Windows Diskpart to delete any kind of partition on it. Using the AROS installer wipe-disk, etc. do not work and HDToolBox is a piece of <BEEP> :o.

So now that I am armed with a working bootable (Ihope!) AROS USB stick, I will install it on my netbook tonight.

Wish me luck! B)
M
magoriumSoftware Dev
Posted 10 years ago
Yeah, i probably should have mentioned that.

For some reason aros seems to not pick up correctly on that sometimes.

Problem is that once installed onto a pen-drive, that i 'simply' use existing partition(s) and re-format those during installation (so i haven't done a virgin install for a while now).

Indeed using windows disk management or gparted solves that problem quite easily (it's just that you have to know that's the culprit). I agree that hdtoolbox is not very intuitive and sometimes even works confusing.

If you done a 'normal' install then you actually already can use the pendrive (just boot from it) to see how your machine would behave.

Be aware though that if you already have AROS installed on the internal HD that directly after first boot from pendrive, it could try to pick-up the HD to boot from (that could work confusing). Make sure you have your boot priority in order (if possible with your bios).

Also be aware that aros does not play nice when you want to install it besides another existing OS. Many report of user that wanted to install next to linux/windows but lost their bootblock (back it up, just in case if you gonna attempt that). Installing aros next to aros is currently not possible.

I wish you all the luck that is needed to get a clean (and working) install :)

Just for good measures, which exact icaros version are you going to install and are you installing to an internal or external HD ?

In case the latter, please make sure you pick the right (HD) one :P

Good luck!
amigamiaamigamiaAdmin
Posted 10 years ago
Thanks for all the excellent tips Magorium! I managed to install ICAROS 1.5.2 from the USB stick onto the available (non partitioned) disk space on the my HP Mini. I currently have ElementaryOS installed on a secondary partition. I updated the group config but I forgot to copy the aros boot files on the boot folder under linux. That is where I stopped but I will continue that later.. Will let you know...

Additional question: Is there any PortablE Syntax Highlighting available for any editor in Windows? Notepad++ seems a good candicate for that.
M
magoriumSoftware Dev
Posted 10 years ago
Ah, the story of the elementaryOS machine continues :p

If not mistaken then i've pointed towards the wikibook for the linux parts (as it is not really my cup-a-tea) or look for people running into the same issues (that you run into as well) and that were discussed on ae forums.


Yeah, please feel free to report back (in any case), i might not have the answers myself, but perhaps can point towards the right direction.


I am not aware of any syntax highlighted editor out there for windows that has a (ready made) config file for amigaE and/or portablE.

And as you might have guessed, searching for those is a bit of a pita (usually turns up editors that can be installed portable :D ).


Tell you what. You pick the editor and we simply figure out together what to do to make it work. Albeit, i hope you don't mind that i won't install overkill editors like eclipse (only for the sake of figuring out the syntax highlight config).

As already expressed, i usually end up using programmer's notepad and/or scite.


fwiw: Each editor has it's own pros and cons, but i would suggest to pay extra attention to the parts that (can) configures the compiler and/or show compiler output (catch errors on correct source lines by clicking). For me, those are the parts i am most interrested in as that simply has to work (or otherwise is a pita).


Sometimes it's difficult to add an additional syntax, other times it's easy a 1,2,3.

You can start with the annotate xml syntax description to get some hints. Be aware though that some editors out there could have difficulty making the (automatic) distinction between amiga-E and portablE (as that detection/config is pretty specific towards annotate).

And... instead of making this long post it probably should have been easier/quicker to just create a syntax config for notepad++, but i am not sure that editor is what you like to want to use in the end :/
amigamiaamigamiaAdmin
Posted 10 years ago
I am a big fan of notepad++. It is quite powerful and easy to install. Lightweight and it has a Syntax Highlighting editor built-in. I have never used SciTE but it does have a built-in option to compile/build etc. I am going to try it but I already am trying to construct a PortalE Language file. I'll share as soon as I have some to show.. :-) Thanks Mag, As always!
M
magoriumSoftware Dev
Posted 10 years ago
My grandmother used to say "never change a winning horse" :D

So, if it's notepad++ you fancy then by all means stick with it. Especially environments where you spend a lot of time in/with should be as comfortable to you as possible.

It's why i fancy editors where it's possible to manipulate each tiny little tidbit (and loads of the programming editors out there lack that :/).

Well, scite is the example project of Scintilla... sounds familair ?
(it's the same editing component notepad++ uses) :P

The reason why i sometime choose scite over something else, is that at the moment you start programming in multiple programming languages, you have to go to all kind of hoops to get the compiler (settings) working as you like. I then use scite to make a programming language specific setup for each language (each in it's own directory to avoid the hoops).

atm i am struggling to find out the complete list of keywords of portablE as the annotate configuration uses some 'magic' to highlight some things automagically (and without revealing which complete keywords belong to it).



PS:
Oh, and i found an annoying bug in notepad++ (or my misinterpretation of things). Whenever a keyword is preceded by a seperator (e.g. ":") the keyword is not highlighted. I haven't found a good solution for that yet (as i find using the prefix thing a bit overkill for that).



PPS:
aaargh...forget it.

i just finished reading the UDL v2.0 specification. And boy... that's faulty as hell by description :@

As a result of that, it isn't possible at all with notepad++ to get perfect syntax highlighting working.. at least not for a programming language like portablE (and there a lot more difficult-to-highlight languages out there).

The best i can do for now is use the ":" character as a operator (which technically speaking is wrong) but even then problems arises. Not to mention that you get the same highlighting style for the ":" char as your real operators (which i personally find annoying).

imho all the different operators (e.g. assignment operators, comparison operators , etc.) should all have their own separate style(s) and/or flow rules).

The other solution (s/w)hould be to use a delimiter definition, but alas that also fails as it _always_ expect a closing delimiter (which makes it _not_ a delimiting character, so why it is called that way is beyond me).

Also it seems there is no support for multiple comments (e.g. i do not seem to be able to add the { } comment style as extra possibility besides the usual /* */ pair).

At least i was able to split all the different keywords into several boxes (that's what i consider a plus for notepad++). That way you can e.g. seperate the real language construct from the constants, types, additional constructs, etc (so that they all can have their own individual style).

Next would be the numbers. That seems a bit more difficult and frankly speaking i have absolutely no idea what number systems portablE supports (so i have to read the manual for that :D ).
amigamiaamigamiaAdmin
Posted 10 years ago
Hey Magorium! My goodness, you didn't have to use notepad++ lol. I use it for day to day basic text editing. I like it because it comes with a few handy plugins for text manipulation. I truly haven't used it for any language editing. I actually am looking at Scite right now as it seems a lot simpler but yet powerful. I like the fact that I can run Compile from the editor but I struggled to find how to configure that. Let's keep that winning horse shall we? :D

BTW, I copied the AROS Boot files in the boot folder under linux, Added the lines in the grub config according to AspireOS page, rebooted, selected Icaros and voila'! I have an almost fully working icaros netbook (will take some pics soon..).

I say almost because my wireless doesn't work. I looked around and there seems to be no drivers for it. It's a broadcom BCM4312. So for the mean time I am bound to the Ethernet umbilical cord or use the Linux side to download, and use the SD-Card as a shared storage ;)
M
magoriumSoftware Dev
Posted 10 years ago
No, i perhaps didn't have to :P

But as i said, if that is what is most comfortable for you then why not.

btw: it is possible to add a run command (using a specific shortcut to run pegcc compiler) using notepad++ if you want. I'll export my config and try paste it here when finished.

Cool that you managed to setup grub correctly. i'll await the pictures patiently :D

Correct, the broadcom chips are a bit of a hassle. i also havne't got wireless working under AROS (but i don't mind as there is too much interference in this building anyway. I've setup a special antenna to blast away every wireless setop box in the neighborhood :o but that causes issues with the neighbours sometimes :D ).

I also use the cardreader to install aros to and boot from it... nice little machines those forst atoms things :D

I do not completely understand the swapping bits (for downloading). You could use your cardreader for that , but also an usb pendrive.

But better is to a seperate 'swap' partition for that as it is easier. In case you want to avoid that altogether then you might want to consider making your own custom icaros setup running it hosted using ElementalOS. It just behaves like a 'normal' linux program and ofcourse adds all the extras from your linux distro. (i am currently looking at running aros using amipup as host os).


The scite setup is a bit of a steep learning curve but doable.

I use the compact scite version (600k all in one .exe) and added the language properties manually.

In my SciteGlobal.properties i've imported (using import command) my (for my personal case) pascal properties located in /lexers/pascal.properties.

in that pascal.properties definition file i've added the line "command.compile.*.pas=D:\WinDev\FPC271\Bin\i386-win32\fpc -TAros "$(FilePath)"" (without the outer quotes)

which i hope is pretty self-explainatory (in case it isn't then feel free to ask).

And at this point, my memory seems to abandon me... i seem to remember having to make an extra option to be able to make it all work from the menu (including shortcut), but i wasn't able to locate it so quickly. Maybe i'm remembering wrongly :/

Just try my suggested line (wherever you've stored your portablE properties) and feel free to report back in case it wasn't enough to make it all work.
M
magoriumSoftware Dev
Posted 10 years ago
Well, this should be doable for syntax highlighting setting for notepad++ (just taken from annotate. plus some additional stuff added and separated in order to be able to use several styles).

please note that the colours itself are completely useless. It was merely meant to show the differences in highlighting. At least you should be able to 'simply' change the colours/fonts to your personal preferences.

And no, the wrongly colored items are not my fault, the UDL language used for syntax highlighting is faulty by design and will never work correctly :P

As far as i understood my exported file (that is pasted here) should be possible to import in the user-defined options of notepad++.

Now, hopefully this board doesn't eat up all the special characters used in the config file :/


<NotepadPlus>
    <UserLang name="PortablE" ext="" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments">00-&gt; 01 02 03/* 04*/</Keywords>
            <Keywords name="Numbers, prefix1"></Keywords>
            <Keywords name="Numbers, prefix2">$</Keywords>
            <Keywords name="Numbers, extras1"></Keywords>
            <Keywords name="Numbers, extras2">$ABCDEFabcdef</Keywords>
            <Keywords name="Numbers, suffix1"></Keywords>
            <Keywords name="Numbers, suffix2"></Keywords>
            <Keywords name="Numbers, range"></Keywords>
            <Keywords name="Operators1">: , + - * / ++ -- !! := == != / &lt; = &gt; &lt;= &gt;=</Keywords>
            <Keywords name="Operators2"></Keywords>
            <Keywords name="Folders in code1, open">PROC</Keywords>
            <Keywords name="Folders in code1, middle"></Keywords>
            <Keywords name="Folders in code1, close">ENDPROC</Keywords>
            <Keywords name="Folders in code2, open"></Keywords>
            <Keywords name="Folders in code2, middle"></Keywords>
            <Keywords name="Folders in code2, close"></Keywords>
            <Keywords name="Folders in comment, open"></Keywords>
            <Keywords name="Folders in comment, middle"></Keywords>
            <Keywords name="Folders in comment, close"></Keywords>
            <Keywords name="Keywords1">ABSTRACT ARRAY BUT CALLBACK CASE CLASS  CLASSTYPE CONST DEFAULT DEF DO ELSE ELSEIF EMPTY END ENDCLASS ENDFOR ENDFUNC ENDIF ENDOBJECT ENDPROC ENDSELECT ENDWHILE ENUM EXPORT FINALLY FOR FUNC IF  INLINE IMPLEMENTS IS LARGE LIST LOOP MODULE NATIVE NEW NOPTRTOCHAR OBJECT OF OPT OPTIMISE ORPHAN OSVERSION PREPROCESS PROC PRIVATE PROTECTED PROTOTYPE PUBLIC RAISE REPEAT REPLACEMENT RETURN RETURNS SELECT SET SIZEOF STATIC STEP SUPER THEN MULTITHREADED TO TYPEOF UNGENERIC UNTIL VOID WHILE</Keywords>
            <Keywords name="Keywords2">BOOL BIGVALUE BYTE CHAR FLOAT ILIST INT LONG POINTER PTR QUAD STRING VALUE</Keywords>
            <Keywords name="Keywords3">ALL FALSE NIL NILA NILS TRUE</Keywords>
            <Keywords name="Keywords4">AND NOT OR SHL SHR XOR</Keywords>
            <Keywords name="Keywords5"></Keywords>
            <Keywords name="Keywords6"></Keywords>
            <Keywords name="Keywords7"></Keywords>
            <Keywords name="Keywords8"></Keywords>
            <Keywords name="Delimiters">00&apos; 01\ 02&apos; 03&quot; 04\ 05&quot; 06( 07 08) 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="000000" bgColor="C0C0C0" fontStyle="0" nesting="256" />
            <WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="NUMBERS" fgColor="000000" bgColor="00FF40" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="000000" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="0080FF" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="008040" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="8000FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="OPERATORS" fgColor="FF0000" bgColor="FFFFFF" fontStyle="5" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="1" nesting="0" />
            <WordsStyle name="DELIMITERS1" fgColor="FF00FF" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFF00" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="117701895" />
            <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>




- folding on proc/endproc
- line comment on "->"
- multiline comment on "/*" with ending "*/"
- used about any _separator_ character as being an operator, otherwise highlighting would fail altogether.
- *sick* added ( ) as delimeter style (otherwise nothing between those would be highlighted correctly).
- added hexadecimal numbers (but i think i did something wrong there, alas docs not conclusive).
- KW 1: generic language constructs (plus some special)
- KW 2: types
- KW 3: constants
- KW 4: and/or operators (because i hate using same color as normal operators).

I have no idea how it would be possible to add preprocessor highlighting (the option simply seems non existent). possibly solvable by adding another set of keyword (including preprocessor initiator character "#").

hopefully enjoy ! :)
amigamiaamigamiaAdmin
Posted 10 years ago
I made a small change to add some coloring, etc. etc. Take a a look and let me know what do you think.

<NotepadPlus>
    <UserLang name="PortablE" ext="e" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments">00-&gt; 01 02 03/* 04*/</Keywords>
            <Keywords name="Numbers, prefix1"></Keywords>
            <Keywords name="Numbers, prefix2">$</Keywords>
            <Keywords name="Numbers, extras1"></Keywords>
            <Keywords name="Numbers, extras2">$ABCDEFabcdef</Keywords>
            <Keywords name="Numbers, suffix1"></Keywords>
            <Keywords name="Numbers, suffix2"></Keywords>
            <Keywords name="Numbers, range"></Keywords>
            <Keywords name="Operators1">: , + - * / ++ -- !! := == != / &lt; = &gt; &lt;= &gt;=</Keywords>
            <Keywords name="Operators2"></Keywords>
            <Keywords name="Folders in code1, open">PROC</Keywords>
            <Keywords name="Folders in code1, middle"></Keywords>
            <Keywords name="Folders in code1, close">ENDPROC</Keywords>
            <Keywords name="Folders in code2, open"></Keywords>
            <Keywords name="Folders in code2, middle"></Keywords>
            <Keywords name="Folders in code2, close"></Keywords>
            <Keywords name="Folders in comment, open"></Keywords>
            <Keywords name="Folders in comment, middle"></Keywords>
            <Keywords name="Folders in comment, close"></Keywords>
            <Keywords name="Keywords1">ABSTRACT ARRAY BUT CALLBACK CASE CLASS CLASSTYPE CONST DEFAULT DEF DO ELSE ELSEIF EMPTY END ENDCLASS ENDFOR ENDFUNC ENDIF ENDOBJECT ENDPROC ENDSELECT ENDWHILE ENUM EXPORT FINALLY FOR FUNC IF INLINE IMPLEMENTS IS LARGE LIST LOOP MODULE NATIVE NEW NOPTRTOCHAR OBJECT OF OPT OPTIMISE ORPHAN OSVERSION PREPROCESS PROC PRIVATE PROTECTED PROTOTYPE PUBLIC RAISE REPEAT REPLACEMENT RETURN RETURNS SELECT SET SIZEOF STATIC STEP SUPER THEN MULTITHREADED TO TYPEOF UNGENERIC UNTIL VOID WHILE</Keywords>
            <Keywords name="Keywords2">BOOL BIGVALUE BYTE CHAR FLOAT ILIST INT LONG POINTER PTR QUAD STRING VALUE</Keywords>
            <Keywords name="Keywords3">ALL FALSE NIL NILA NILS TRUE</Keywords>
            <Keywords name="Keywords4">AND NOT OR SHL SHR XOR</Keywords>
            <Keywords name="Keywords5"></Keywords>
            <Keywords name="Keywords6"></Keywords>
            <Keywords name="Keywords7"></Keywords>
            <Keywords name="Keywords8"></Keywords>
            <Keywords name="Delimiters">00&apos; 01\ 02&apos; 03&quot; 04\ 05&quot; 06( 07 08) 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="808040" bgColor="C0C0C0" fontName="" fontStyle="2" nesting="256" />
            <WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="C0C0C0" fontName="" fontStyle="2" nesting="0" />
            <WordsStyle name="NUMBERS" fgColor="000000" bgColor="00FF40" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="00FF80" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="008040" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="OPERATORS" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="FOLDER IN CODE1" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="1" nesting="0" />
            <WordsStyle name="DELIMITERS1" fgColor="FF00FF" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS2" fgColor="000000" bgColor="FFFF00" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="117701895" />
            <WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>
Edited by amigamia on 14-06-2014 13:11, 10 years ago
amigamia attached the following file:
capture.png [No information available / 0 Downloads]
M
magoriumSoftware Dev
Posted 10 years ago
Drats... that was hard to get it imported (it kept using my old scheme).

No idea what i did, but after renaming your scheme and imported, closed down several times (and started notepadd++ again), i finally managed to get it imported correctly :/

Well, like i said. i have absolutely done nothing toward the colors (merely picked something different to show). so you should be good to go in that department (whatever you favor) :D

I've just separated the different language constructs so that _it is possible_ to change them individually. But if you don't like that, you could even choose to use the same font-style and colors to be the same for all of them (e.g. only display them all bold or purple or *whatever* :-D ).

For example, the pink strings i've used are a bit on the feminine side of things, and now curse a bit with the greenish variable types :P

Two words of warning though (i think):

1) You changed the language from case sensitive to no case sensitive, and afaik portablE is a case sensitive language. Meaning keywords _have_ to go in upper case. if i understood correctly, you've changed that.

2) It seems you've removed some of the operators. I've taken my queue from annotate file, but also from the examples on chris' homepage (i copy-pasted them into the editor to see what was still missing). That was reason for me to add the additional operators (as they are valid, at least in PortablE. Dunno about Amiga-E).

And *oops*, i forgot to add the extension. Good catch amigamia :)
M
magoriumSoftware Dev
Posted 10 years ago
Here is a small example in practice what goes wrong with omitted operator (in this example '=' character);

Go to the examples of Chris and choose Example 19: Stacker.E, and paste the source into an empty edit window.

Taking your scheme, scroll down to line 92:
"guiRefreshTask.setGhosted(watchName=NILS)"

because the = is omitted, it will not be parsed as operator. thereby also ignoring NILS as being a constant, and will not be highlighted accordingly. It really is a bug in the UDL language scheme to begin with (but at least this specific issue i can understand a little).

Of course, if that doesn't bother you then who am i to judge. But perhaps it is something you haven't considered (or ran into) yet. Unfortunately, there are (or at least seems to be) more of those little 'issues'.


One of the funniest of those 'issues' is, that since i added hexadecimal numbering recognition, the UDL parsing goes wrong whenever you use a variable which ends in a hexadecimal letter (a,b,c,d,e or f) directly followed by a number.

So, for example. when using the variable name IamAvariable2, the number 2 get's recognized as being a hexadecimal number (big oops) and only that 2 gets highlighted accordingly (big oops number 2, as it should start with the e if its being done wrong to begin with). So even in doing it wrong, the UDL does it wrong :D
amigamiaamigamiaAdmin
Posted 4 years ago
I know this is an old thread but I have been curious to know if there is any new development. On Chris' website it seems to be still at: 23.1. r6 beta - r6 beta (26.04.2016)
You can view all discussion threads in this forum.
You cannot start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Moderator: Administrator
Users who participated in discussion: amigamia, magorium
Sign In
Not a member yet? Click here to register.
Forgot Password?
Users Online Now
Guests Online 7
Members Online 0

Total Members: 224
Newest Member: Zhule
Member Polls
Should AROSWorld continue with AROS-Exec files (SMF based)?
Yes44 %
44% [12 Votes]
No26 %
26% [7 Votes]
Not sure30 %
30% [8 Votes]