Author Topic: A little brother of OxIde  (Read 28050 times)

0 Members and 1 Guest are viewing this topic.

Aurel

  • Guest
Re: A little brother of OxIde
« Reply #60 on: May 20, 2017, 03:18:07 AM »
Hi Arnold
No is not special or custom sci dll than standard version 1.6.8.0
My first editor called OxyEdit is written in Emergence Basic 1.773
this is not clear to me why if all lexers are same i mean on lexer number why then
not work with newer versions
more keywords are useful like ihave
like string,int,float in RED
commands in BLUE
strings in magenta
awinh keywords in BROWN
etc...

Arnold

  • Guest
Re: A little brother of OxIde
« Reply #61 on: May 20, 2017, 12:24:18 PM »
This is what I tried: I downloaded wscite 1.6.8 from Sourceforge and renamed the dll to scilexer168.dll.  I created a copy of AurelEdit.o2bas and used the statement:
hlibsci = LoadLibrary "SciLexer168.dll"  'load sciLexer.dll
Then in the code of the two apps I used the statement:
SendMessage hsci, SCI_SETLEXER, 8, 0   (and also using 40,51,75).

Then I executed the both apps parallel and opened the same code file. I do not know which problems you see with highlighting but I can definitively confirm, that the Scilexer.dll version 1.68 and the special dll for Oxygenbasic show the same individual coloring for VB, Lout, Pb and Fb lexers.


.
« Last Edit: June 27, 2017, 07:52:43 AM by Arnold »

Aurel

  • Guest
Re: A little brother of OxIde
« Reply #62 on: May 21, 2017, 02:40:29 AM »
i show you difference
left is with 1.6.8.0 and right is with newer
i dont get it why i cannot have more keywords??

.

Arnold

  • Guest
Re: A little brother of OxIde
« Reply #63 on: May 21, 2017, 10:01:10 AM »
Hi Aurel,

I am sorry but it seems that I cannot be of help in this case. If I run the code which I attached previously (reply #54) using scilexer.dll 1.6.8.0 I will get the result which is displayed in the right picture (sys, int etc. blue). Either your dll is different from that which I downloaded from Sourgeforge or the code of your AurelEdit.o2bas / awinh.inc is different from my previously attached zip file. There is too much speculation to me.

Roland

Aurel

  • Guest
Re: A little brother of OxIde
« Reply #64 on: May 21, 2017, 12:30:44 PM »
hi Arnold
Yes it looks that version of 1.6.8.0
is somehow different     than the original and i dont know who made this changes.
Probably author of EBasic but iam not sure...
Only thing what i can do is to download original 1.6.8.0 from SourceForge
and try to compile with this original dll to see how work
thanks for replay and trying  ;)

Arnold

  • Guest
Re: A little brother of OxIde
« Reply #65 on: May 30, 2017, 01:16:55 AM »
Hi Charles,

the last few days I was prevented to do anything with Oxygenbasic and I now downloaded the latest version of A43. When I try to compile OxIde I will get this error:

Must assign to a variable
word: left
line: 69
file: c\oxygenbasic/inc/dirutil.inc
pass: 3

I will get this error with my editor project too. Comparing dirutil.inc / sysutil.inc / oxideutil.inc with version A43 22/05/2017 I cannot see a difference to the version of 27/05/2017. Is there a change anywhere else which must be respected?

Roland

Charles Pegge

  • Guest
Re: A little brother of OxIde
« Reply #66 on: May 30, 2017, 01:50:06 AM »

Hi Roland,

It's #compact again. I'll track the problem ...

Arnold

  • Guest
Re: A little brother of OxIde
« Reply #67 on: May 30, 2017, 01:57:50 AM »
Thank you Charles. Commenting out #compact fixed the problem. I must keep this in mind a little bit more. There are some things which I already apply automatically.

Charles Pegge

  • Guest
Re: A little brother of OxIde
« Reply #68 on: May 31, 2017, 02:37:38 AM »
I have now fixed the problem with #compact and its removal of unused functions containing inner functions.

There was also a related glitch with #lookahead

http://oxygenbasic.org/o2zips/Oxygen.zip

Aurel

  • Guest
Re: A little brother of OxIde
« Reply #69 on: May 31, 2017, 05:21:31 AM »
Hi Charles
it looks that again something is wrong with new 043 oxygen.dll
i replaced old 041 with this new you posted here and i get this strange error?
so i must back to my old working dll...

.

Charles Pegge

  • Guest
Re: A little brother of OxIde
« Reply #70 on: May 31, 2017, 05:33:51 AM »
Hi Aurel,

I've removed some legacy words from OxygenBasic, and #basic is one of them. o2 was originally an assembler, with Basic as an option. This is no longer the case.

It works with AurelEdit (04/2017) :)

Aurel

  • Guest
Re: A little brother of OxIde
« Reply #71 on: May 31, 2017, 11:03:14 AM »
Hi Charles
But from error i can olny say that o2 react on commented line with word
basic .... is that the case now?
 ::)

Charles Pegge

  • Guest
Re: A little brother of OxIde
« Reply #72 on: June 02, 2017, 02:06:07 AM »
Hi Aurel,

I did not understand your question, but these word have been removed from OxyenBasic core definitions:

exposed writestate #ifexist #ifnexist basic o2h asm #basic #asm data dataspace

Aurel

  • Guest
Re: A little brother of OxIde
« Reply #73 on: June 02, 2017, 09:20:13 AM »
Hi Charles
Please look into error picture..
it looks to me that oxygendll detect word "basic" in comment as keyword
i dont know how to explain better..
 

Charles Pegge

  • Guest
Re: A little brother of OxIde
« Reply #74 on: June 02, 2017, 09:32:32 AM »
Not on my system.

Code: [Select]
'basic
Can you show us?

PS

I have implemented function-name assign:

Code: [Select]
function foo(int v) as int
  foo=v*3
end function
print foo(14) '42