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

0 Members and 1 Guest are viewing this topic.

Aurel

  • Full Member
  • ***
  • Posts: 245
Re: A little brother of OxIde
« Reply #75 on: June 02, 2017, 09:45:57 AM »
aha ...so we can use VB,PowerBasic and some other syntax
that is fine but i prefer old way..
ok ..that is good for translation from let say VB to o2
Charles
i really dont have a clue why o2 react on this way on word basic under comment
it looks to me that words are not ignored after sign '
is that the problem ?

Charles Pegge

  • Admin Support Member
  • *****
  • Posts: 3657
    • Oxygen Basic
Re: A little brother of OxIde
« Reply #76 on: June 02, 2017, 10:03:47 AM »
My copy of AurelEdit does not have this problem with 'basic

The only circumstance where ' is not a comment

Code: [Select]
int a=43
select a
case '+' : print chr(a) 'print "+"
case '-' : print chr(a)
end select


« Last Edit: June 02, 2017, 12:48:22 PM by Charles Pegge »

Arnold

  • Hero Member
  • *****
  • Posts: 613
Re: A little brother of OxIde
« Reply #77 on: June 27, 2017, 08:40:04 AM »
The last two months I was incredibly lazy using my computer, but I got much distracted by the incidents which happen. During my working life I was not really aware of this extent of chaos in the world.

Version A43 introduced true=-1 / false=0. This makes some modifications necessary for O2HEdit.o2bas / O2HEdit.inc. I mentioned these changes in reply #44.

Although I have added some more features to my little editor project I will first of all adapt the code to the latest version of A43 and use some of the new advanced functions.

Roland

Aurel

  • Full Member
  • ***
  • Posts: 245
Re: A little brother of OxIde
« Reply #78 on: June 30, 2017, 01:06:02 AM »
Quote
some of the new advanced functions.
which are ?...are they in log file ?
ok

hmm i have a lot of troubles and seems to me that I must do complete reconstruction
of awinh.inc
grrrr.....  >:(

 :D

Arnold

  • Hero Member
  • *****
  • Posts: 613
Re: A little brother of OxIde
« Reply #79 on: December 20, 2017, 08:15:27 AM »
Hello,

after a short break I added some small changes to the little editor project. I hopefully reduced the flickering when resizing the editor's window. Also added turning on/off wordwrap, line numbers and monospaced view.

The app should run anywhere on disk or usb stick. It depends on the special SciLexer.dll which is provided with Oxygenbasic otherwise syntax highlighting will not work. The app depends also on colorschemes.bin and keywordlists.bin which are two text files. Colorschemes.bin can be used to define own colorscheme 4 + 5. Keywordlists.bin contains the keywords for Oxygenbasic, WinApi and ASM keyords. Without this file syntax highlighting will not work. Most probably it must be adapted.

The attached zip file only contains the executable without source code because I think the code must be adapted after the forthcoming release of Oxygenbasic. I also would like to add some more items to the project.

Maybe I will get some feedback? Although I did some tests, I am still not sure if everything will work as expected.

Roland
« Last Edit: December 21, 2017, 04:05:04 PM by Arnold »

Arnold

  • Hero Member
  • *****
  • Posts: 613
Re: A little brother of OxIde
« Reply #80 on: December 21, 2017, 04:07:19 PM »
Wow! This is so embarrassing. When I edited the .rc resource file I deleted by mistake a ctrl mark in the accelerator table. This led to a mistake in the find / replace dialog and I did not realize this. Shame on me.

I attached the corrected executable. Find / Replace should work ok now. Replace All does not work in all cases but I have not yet found out the reason for this misbehaviour.

Roland

.