You are here: PSPad forum > English discussion forum > PSPad future - new editor engine

PSPad future - new editor engine

Goto Page: Previous1 2 3 4 5 Next

#11 Re: PSPad future - new editor engine

Posted by: pspad | Date: 10/15/2015 19:50 | IP: IP Logged

This engine base comes from Synedit. I hope I will be able use it without margin changes to PSPad behavior. This is the reason, why I test it.
For now I see only advantages.

Options: Reply | Quote | Up ^


#12 Re: PSPad future - new editor engine

Posted by: Ilya | Date: 10/19/2015 14:11 | IP: IP Logged

Quote:
All highlighters are in external JSON files - another plus

Do you want to prepare the JSON files by your self? If no, we can help you!

Options: Reply | Quote | Up ^


#13 Re: PSPad future - new editor engine

Posted by: pspad | Date: 10/19/2015 15:30 | IP: IP Logged

Ilya:
Quote:
All highlighters are in external JSON files - another plus

Do you want to prepare the JSON files by your self? If no, we can help you!

I count with help, cause I don't know all syntaxes.
Some highlighters already exists as part of component.
I plan to write some tool what will help with new highlighter creation - something like User highlighter in existing PSPad.

Options: Reply | Quote | Up ^


#14 Re: PSPad future - new editor engine

Posted by: massimobalestra | Date: 10/19/2015 16:49 | IP: IP Logged

If you need some help count on me.
I don't know Delphi but for translation to Italian or perl syntax or other things I can help.

Options: Reply | Quote | Up ^


#15 Re: PSPad future - new editor engine

Posted by: Freeman | Date: 10/21/2015 10:45 | IP: IP Logged

What do you think about common highligting styles? All syntaxes split to keyword-based (C, Delphi, Java, etc.) and tag-based (HTML, XML, etc.) and have common settings, how to highlight keywords, string, comments, tags, attributes and other elements. Every language inherites common settings, can override or extend them. Users can set their preferences for common settings and overrides for every language they want.

For example, I prefer old Borland style for all programming languages like Delphi, PHP or SQL, and default coloring for HTML and XML. In current version of PSPad I have to redefine my preferences for every language I want to use, because of there isn't common way.

Options: Reply | Quote | Up ^


#16 Re: PSPad future - new editor engine

Posted by: pspad | Date: 10/21/2015 12:11 | IP: IP Logged

Such principle is already included. There are named groups of keywords.
Important is create list of group names and keep it in highlighters. It will allow you to set color for all groups in all highlighters at once = you can create themes.

Options: Reply | Quote | Up ^


#17 Re: PSPad future - new editor engine

Posted by: pythonui | Date: 10/27/2015 08:36 | IP: IP Logged

Hello Jan,

Is there any progress on this? Need any help from users of PSPAD in development or documentation?

--
Thanks

Options: Reply | Quote | Up ^


#18 Re: PSPad future - new editor engine

Posted by: pspad | Date: 10/27/2015 08:42 | IP: IP Logged

Just now I am stocked with my job work.

Options: Reply | Quote | Up ^


#19 Re: PSPad future - new editor engine

Posted by: Gorlash | Date: 11/02/2015 20:08 | IP: IP Logged

I just checked out the demo, and it looks very nice. I like the Wood theme!!
Can't test much detailed issues, since not much functionality implemented, but it looks very nice. Don't see any problems with it.

Options: Reply | Quote | Up ^


#20 Re: PSPad future - new editor engine

Posted by: lpatrick | Date: 11/09/2015 15:20 | IP: IP Logged

This seems like a great future for PSPad (if you'll keep the name).

I saw a few issues in HTML with scripts like:
- If php end is after comment character, it isn't interpreted as php end

<?php $var = 'value'; // This is comment ?>

- seems to have difficulty interpreting PHP $var["{$var2}"] (although I'm not sure I still need it but it's still part of some legacy code); $var["$var2"] is OK.
- also some code nesting issues which I'm sure isn't easy

var fld = new Ext.form.ComboBox({
<?php if (isset($GLOBALS['extjsv']) && $GLOBALS['extjsv'] < 3) { ?>
store: new Ext.data.SimpleStore({
<?php } else { ?>
store: new Ext.data.ArrayStore({
<?php } ?>
fields: ['nummer', 'naam'],
...
}),
...
});

Which results in everything being folded until the EOF.

Folding seems sensitive by the way: just cicking in column 1 (trying to select some code) already folded it.

Not trying to be negative at all but you asked for initial feedback, right?!

As I said: looks very promising indeed and this will really put PSPad back next to others like NP++ where it belongs!

Thanks for all the effort, Jan!!!

Patrick

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3 4 5 Next





Editor PSPad - freeware editor, © 2001 - 2018 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR