Recent

Author Topic: New Scriptable Highlighter for SynEdit  (Read 31727 times)

Alextp

  • Hero Member
  • *****
  • Posts: 1120
    • UVviewsoft
.
« Reply #15 on: May 25, 2014, 03:46:48 am »
It's visual part- I know. any "smart" completion is OTHER task- we discuss scripted hiliter?? or we discuss completion? completion is other thing.
U want highliter or u want a completion?
 
« Last Edit: May 25, 2014, 03:48:25 am by Alex22 »

Edson

  • Hero Member
  • *****
  • Posts: 1086
Re: New Scriptable Highlighter for SynEdit
« Reply #16 on: May 25, 2014, 06:43:49 pm »
any "smart" completion is OTHER task

It's true. I am just saying that I'm developing this highlighter, focusing on getting facilities for completion.

we discuss scripted hiliter?? or we discuss completion?
:o Don't worry. We can open other thread for completion. :)
Lazarus 2.0.6 - FPC 3.0.4 - x86_64-win64 on  Windows 8

Alextp

  • Hero Member
  • *****
  • Posts: 1120
    • UVviewsoft
-
« Reply #17 on: May 25, 2014, 06:52:34 pm »
Im interested maybe. Maybe because i maybe willl use EControl in lazarus or (if not possible) maybe synedit. Good if u writte 2-3 ready lexers in ur lexer: e.g. Pascal and PHP and CSS (CSS is simple, only folding for {} needed)

Edson

  • Hero Member
  • *****
  • Posts: 1086
Re: New Scriptable Highlighter for SynEdit
« Reply #18 on: May 25, 2014, 11:55:50 pm »
Pascal lexer is configurated in the example of the Highlighter.

If the CSS lexer is so simple like folding {}, then the XML should be:

Code: [Select]
<?xml version="1.0"?>
<Language name="CSS">
  <Block Start="{" End="}"></Block>
</Language>

Later, I will publish a simple editor with several syntax, like a sample.
« Last Edit: May 26, 2014, 12:02:08 am by Edson »
Lazarus 2.0.6 - FPC 3.0.4 - x86_64-win64 on  Windows 8

Alextp

  • Hero Member
  • *****
  • Posts: 1120
    • UVviewsoft
-
« Reply #19 on: May 26, 2014, 01:35:32 am »
Yes, pls publish Win exe file too (I don't want to install any components. yet.)

Edson

  • Hero Member
  • *****
  • Posts: 1086
Re: New Scriptable Highlighter for SynEdit
« Reply #20 on: May 28, 2014, 08:02:17 pm »
This is the new version (0.6) of my highlighter:

http://blog.pucp.edu.pe/action.php?action=plugin&name=LinkCounter&type=c&k=20140528-synfacilsyn06_public.rar&url=http://blog.pucp.edu.pe/media/4946/20140528-synfacilsyn06_public.rar

The news:

* New functions for to get information about the blocks.
* New function for help on implementing the code completion.
* The ability of configure the attributes from the XML file.

I have included too some basic syntax file for the Asm, Bash, C, Pascal and SQL, sources, and a simple test program.
 
Lazarus 2.0.6 - FPC 3.0.4 - x86_64-win64 on  Windows 8

Alextp

  • Hero Member
  • *****
  • Posts: 1120
    • UVviewsoft
Re: New Scriptable Highlighter for SynEdit
« Reply #21 on: May 28, 2014, 08:12:07 pm »
Better github.com page. a) easier for u to upload. b) I cannot download from .pe server: no reply

Edson

  • Hero Member
  • *****
  • Posts: 1086
Re: New Scriptable Highlighter for SynEdit
« Reply #22 on: May 29, 2014, 06:19:43 pm »
I don't use GitHub, but I' trying to publish.
I can't install the client Git. It says "You must install an update for the .NET Framework" >:( . I don't like the .NET framework.  That's one reason for to use Lazarus.  :)
« Last Edit: May 29, 2014, 06:21:18 pm by Edson »
Lazarus 2.0.6 - FPC 3.0.4 - x86_64-win64 on  Windows 8

Alextp

  • Hero Member
  • *****
  • Posts: 1120
    • UVviewsoft
Re: New Scriptable Highlighter for SynEdit
« Reply #23 on: May 29, 2014, 06:30:37 pm »
stackoverfl:
Quote
TortoiseGit is built on VC++ 2008, which requires VC++ 9.0 redistributable. It does not need .NET framework

So try this GIT, I use it and it OK

Edson

  • Hero Member
  • *****
  • Posts: 1086
Re: New Scriptable Highlighter for SynEdit
« Reply #24 on: May 29, 2014, 09:40:38 pm »
Well, after some problems, it's now on GitHub:

https://github.com/t-edson/SynFacilSyn
Lazarus 2.0.6 - FPC 3.0.4 - x86_64-win64 on  Windows 8

Alextp

  • Hero Member
  • *****
  • Posts: 1120
    • UVviewsoft
Re: New Scriptable Highlighter for SynEdit
« Reply #25 on: May 29, 2014, 09:51:40 pm »
Idea.Not PDF. WIKI at git-- see example: https://github.com/Alexey-T/ATTabs/wiki
Then u can download wiki as set of MD files and UPLOAD these md files (like normal git files)
« Last Edit: May 29, 2014, 09:53:40 pm by Alex22 »

Edson

  • Hero Member
  • *****
  • Posts: 1086
Re: New Scriptable Highlighter for SynEdit
« Reply #26 on: May 29, 2014, 11:08:50 pm »
Thanks for the advice. I need some time to organize the files on GitHub. I see some useful features there.
Lazarus 2.0.6 - FPC 3.0.4 - x86_64-win64 on  Windows 8

Edson

  • Hero Member
  • *****
  • Posts: 1086
Re: New Scriptable Highlighter for SynEdit
« Reply #27 on: June 03, 2014, 05:17:08 am »
Released the version 0.7:  https://github.com/t-edson/SynFacilSyn 

New features:

* Improved the definition of tokens by content.
* More space for tokens definition.
* English translation improved, for the source code.

For more information about changes, review the documentation.
Lazarus 2.0.6 - FPC 3.0.4 - x86_64-win64 on  Windows 8

Edson

  • Hero Member
  • *****
  • Posts: 1086
Re: New Scriptable Highlighter for SynEdit
« Reply #28 on: June 07, 2014, 07:13:04 pm »
Released the version 0.8:  https://github.com/t-edson/SynFacilSyn

Now it's possible to create dynamically new attributes by code and by the XML file. The speed hasn't been affected.
Lazarus 2.0.6 - FPC 3.0.4 - x86_64-win64 on  Windows 8

Alextp

  • Hero Member
  • *****
  • Posts: 1120
    • UVviewsoft
-
« Reply #29 on: June 07, 2014, 07:16:03 pm »
I wait for next version with REGEX support. Sorry: this Facilsyn isn't needed(for me)

 

TinyPortal © 2005-2018