Recent

Author Topic: TBCEditor v.1.0b like synedit by Lasse Rautiainen  (Read 5250 times)

Erhan Hitay

  • New Member
  • *
  • Posts: 11
TBCEditor v.1.0b like synedit by Lasse Rautiainen
« on: June 30, 2021, 01:58:08 pm »
TBCEditor synedit alternative or like synedit It would be nice to port this component set to lazarus. Is there who will do it?

Description
Powerful edit control for RAD Studio with syntax highlighting and so on.
Compiled demos for 32-bit and 64-bit Windows included.

Informations
Status: Fully functional
Source: Included
Size: 22 421kB

https://torry.net/authorsmore.php?id=7354

https://torry.net/files/vcl/edits/rich/TBCEditor.zip


Edson

  • Hero Member
  • *****
  • Posts: 1302
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #2 on: June 30, 2021, 03:49:55 pm »
Looks good. It would be good, to show the advantages/disadvantages from SynEdit.  I see the wordwrap and minimap interesting.

I think Lazarus IDE needs a more modern editor, with capabilities for plugin support , showing icons, showing controls or additional information text in source code like Visual Studio or Intellij IDEA do.
« Last Edit: June 30, 2021, 03:58:28 pm by Edson »
Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

Erhan Hitay

  • New Member
  • *
  • Posts: 11
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #3 on: June 30, 2021, 04:54:48 pm »
synedit is out of date. TBCEditor or TTextEditor is more up to date. It is also advantageous that the highlights are taken and processed from the external text file, not the component. its hierarchy is easier than synedit. I tried converting the files to lazarus units. I encountered too many errors. Some mistakes are meaningless. I encountered a typo where there was no typo. I think it has to do with the debugger. I am not sure.

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #4 on: June 30, 2021, 05:03:02 pm »
It has less functions than ATSynEdit, as far as I remember.

Erhan Hitay

  • New Member
  • *
  • Posts: 11
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #5 on: June 30, 2021, 05:16:23 pm »
atsynedit econtrole dependent. There seems to be a licensing problem in econtrol. it conflicts with the basic licensing logic of lazarus. but lazarus ide can use atsynedit or tbceditor or ttexteditor instead of synedit. synedit can be updated and new features can be added.

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #6 on: June 30, 2021, 05:53:55 pm »
>atsynedit econtrole dependent. There seems to be a licensing problem in econtrol.

EControl is only an OPTION, ie it is not required, it is the separate package!

Erhan Hitay

  • New Member
  • *
  • Posts: 11
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #7 on: June 30, 2021, 06:18:57 pm »
sorry. I misunderstood.

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #8 on: June 30, 2021, 06:19:16 pm »
Tried to convert the package to Lazarus: more than 100 units, very specific to Delphi --> a lot of work, and gave up.

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #9 on: June 30, 2021, 06:25:19 pm »
Offtopic: One can even support BCEditor 'syntax files' for ATSynEdit - by creating the 'adapter' unit. (EControl also has the adapter)

Edson

  • Hero Member
  • *****
  • Posts: 1302
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #10 on: June 30, 2021, 07:19:44 pm »
Hi Alex.

Can ATSynEdit show color blocks like Visual Studio Code?

Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #11 on: June 30, 2021, 07:49:15 pm »
Edson,
this is custom function which must be programmed by 'user of component', like other custom popups - e.g. LSP popups.

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #12 on: June 30, 2021, 07:52:10 pm »
Edson,
ah, colored squares inside the text.
This is not supported - I think it's not nice design of VSCode, because these squares shift the text righter. CudaText (on ATsynedit) does it in different way - https://wiki.freepascal.org/CudaText#HTML_color_codes_underlining

Erhan Hitay

  • New Member
  • *
  • Posts: 11
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #13 on: June 30, 2021, 08:16:44 pm »
https://github.com/errorcalc/TBCEditor

TBCEditor Description:

A syntax highlighting edit control for RAD Studio (Delphi/C++ Builder) with code folding, completion proposal, matching pair, minimap, sync edit, multi-caret editing, word wrap, support for non-fixed-width fonts, etc. External highlighter and color scheme files are in JSON format which can be also loaded from a stream.

screenshot: https://cloud.githubusercontent.com/assets/11475177/20067778/2e403442-a51f-11e6-8c3e-532ae48b7d72.png
« Last Edit: June 30, 2021, 08:20:32 pm by Erhan Hitay »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
Re: TBCEditor v.1.0b like synedit by Lasse Rautiainen
« Reply #14 on: June 30, 2021, 08:31:44 pm »
Tried to convert the package to Lazarus: more than 100 units, very specific to Delphi --> a lot of work, and gave up.

Yes, that is also the impression that I got, very massive and possibly designed with 2-byte strings in mind, so it might be hard to convert to anything else.

 

TinyPortal © 2005-2018