Author Topic: o2_050P6  (Read 383 times)

0 Members and 1 Guest are viewing this topic.

Offline Zlatko Vid

  • Sr. Member
  • ****
  • Posts: 263
  • User-Rate: +0/-0
o2_050P6
« on: September 11, 2022, 03:45:55 PM »
Charles

May i ask you why you holding some unused stuff in o2
maybe i am annoying but Scintilla folder is still with old ASciEdit
why you not add latest AurelEdit06 in ?
there are also some other things no-one use...

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 820
  • User-Rate: +33/-1
    • Charles Pegge
Re: o2_050P6
« Reply #1 on: September 11, 2022, 06:11:39 PM »
Hi Aurel,

Do you have a permanent link for AurelEdit, where interested users could get your latest versions?

In the long term, I plan to drop Scintilla as an IDE-core and use RichEdit instead, because it works with Unicode. Perhaps you might be interested in doing the same? In any event I can retain the Scintilla folder in projectsC, available on GitHub but not part of the main package.

I also have a tool which is far more powerful than the current Oxide. It's the FindEd utility, which enables coders to track keywords over hundreds of files simultaneously. It is bare-bones at present but it has totally transformed my coding experience managing o2.



Offline Zlatko Vid

  • Sr. Member
  • ****
  • Posts: 263
  • User-Rate: +0/-0
Re: o2_050P6
« Reply #2 on: September 11, 2022, 07:29:07 PM »
Quote
Hi Aurel,

Do you have a permanent link for AurelEdit, where interested users could get your latest versions?

In the long term, I plan to drop Scintilla as an IDE-core and use RichEdit instead, because it works with Unicode. Perhaps you might be interested in doing the same? In any event I can retain the Scintilla folder in projectsC, available on GitHub but not part of the main package.

I also have a tool which is far more powerful than the current Oxide. It's the FindEd utility, which enables coders to track keywords over hundreds of files simultaneously. It is bare-bones at present but it has totally transformed my coding experience managing o2.

Hi Charles
permanent liink is on sourceForge OxygenBasic site under Discussion board:
https://sourceforge.net/p/oxygenbasic/discussion/1224583/thread/5acd9a239e/

is that mean if you drop scintilla that you will remove Scintilla folder from o2 package?

RichEdit ..are you sure , richedit have lot of limitations,syntax coloring,flickering..etc and is slow
and develop such a editor from ground would be frustrating.
I really don't know for any good richedit control based editor written in any indie compiler
(only strange MASMbasic written by jj2007 written in MASM..far away from anything solid).

well ..i don't know for FindEd ..and what is that ?
« Last Edit: September 14, 2022, 08:12:38 AM by Zlatko Vid »

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 820
  • User-Rate: +33/-1
    • Charles Pegge
Re: o2_050P6
« Reply #3 on: September 18, 2022, 12:12:40 AM »
I include finded on the OxygenBasic main folder, both in script form and as a 64bit exe. It may benefit from some beauty-treatment :)


Offline Theo Gottwald

  • Administrator
  • Hero Member
  • *****
  • Posts: 1050
  • User-Rate: +30/-4
  • Gender: Male
    • it-berater
Re: o2_050P6
« Reply #4 on: September 18, 2022, 06:01:10 AM »
Using Richedit instead of Scintilla. Please test it first.
In my tests, Richedit has disadvantages for larger files.
Trying to load large files of several Megabytes and coloring them may take several minutes then or be impossible depending on the size.

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 820
  • User-Rate: +33/-1
    • Charles Pegge
Re: o2_050P6
« Reply #5 on: September 20, 2022, 12:23:16 PM »
Looks promising.

Line numbers work very smoothly except when scrolling horizontally, or using HOME / END. I think the long-term solution may be to draw line numbers directly onto the parent window instead of the edit-box left-margin.

colorizing could be restricted to the part which is currently visible in the edit window.

Offline Zlatko Vid

  • Sr. Member
  • ****
  • Posts: 263
  • User-Rate: +0/-0
Re: o2_050P6
« Reply #6 on: September 20, 2022, 08:04:43 PM »
I am not sure
when i started to work on micro(A) interpreter i was looking
into something like that but i give up and use Scintilla

Offline Zlatko Vid

  • Sr. Member
  • ****
  • Posts: 263
  • User-Rate: +0/-0
Re: o2_050P6
« Reply #7 on: September 20, 2022, 11:36:09 PM »
or create something like this in MASM
https://www.codeproject.com/Articles/1030858/An-Idea-How-to-Use-RichEdit-W-for-Syntax-Highlight

well i tried this long time ago and i can say that is maybe 1/4 good as Scintilla

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 820
  • User-Rate: +33/-1
    • Charles Pegge
Re: o2_050P6
« Reply #8 on: September 23, 2022, 10:37:29 AM »

I'm test-driving a 'Peroxide' version based on Finded. It has a color button for optional colorizing for a whole file. It does not matter if it is a bit slow. Different colorizing schemes could be added: for instance, global-variables and functions.

Offline Zlatko Vid

  • Sr. Member
  • ****
  • Posts: 263
  • User-Rate: +0/-0
Re: o2_050P6
« Reply #9 on: September 23, 2022, 11:09:53 AM »
Peroxide...  ;D
what a name...

ok but looking kind a strange ..he
..the slow..nes is a most problematic thing and swiching tabs
between opend files , Scintilla is there ultra fast

Creative basic code editor is written using VC++ 5.0 with MFC version of RichEdit
and work very fast...but we will see ..

Offline Charles Pegge

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 820
  • User-Rate: +33/-1
    • Charles Pegge
Re: o2_050P6
« Reply #10 on: September 23, 2022, 08:31:57 PM »
Hi Aurel,

Yes, it looks a bit strange, but works very well for me, even without line numbers and coloring. I can manage unlimited files, connected by keyword association. It works comfortably even with a very small footprint.