Lazarus

Announcements => Third party => Topic started by: ecalogiuri on November 19, 2020, 03:17:25 pm

Title: PiNote - free source code editor
Post by: ecalogiuri on November 19, 2020, 03:17:25 pm
Hi guys,
I wanted to present my latest creation on this forum. PiNote is a free source code editor that supports several languages. Running on Windows, Linux and Raspberry Pi. Written in free pascal and Lazarus IDE, use the SynEdit component with extended syntax highlighter modules.

This is the languages and assembly ​​currently supported:
Ada, Adobe Actionscript, 68HC11 CPU, 8051 MCU, ARM V7 CPU, ATMega MCU, PIC16 MCU, PIC18F MCU, PIC32MX MCU, Motorola 6800 CPU, Motorola 68000 CPU, Motorola 6809 CPU, 65xx/85xx NMOS CPU, ST6 MCU, ST7 MCU, TMS9900 CPU, X86 CPU, Z80 CPU, C#, C/C++, CSS, CMake, COBOL, D language, Freebasic, Go language, Haskell, HTML, INI file, Inno setup script, Java, Javascript, Lua, MSDos batch script, Objectpascal, Perl, PHP, Po, Powershell, Prolog, Python, Ruby, SQL, Tcl/Tk, TeX, Unix shell script, Verilog, VHDL, Visual Basic, XML.

Here you will find the precompiled binaries and the source: https://pinote.sourceforge.io/index.html (https://pinote.sourceforge.io/index.html)

I hope you find my work useful.

Regards!
Title: Re: PiNote - free source code editor
Post by: Handoko on November 19, 2020, 03:34:13 pm
I've just happened to look for a source code editor for FreeBASIC. I have some time for this year end, I think it is good to try new things. A week ago I was interested to try FreeBASIC, unfortunately I couldn't find a good editor for it that runs on Linux.

You mentioned PiNote supports FreeBASIC. How to configure it to make it to work with FreeBASIC.

Thank you for sharing PiNote.
Title: Re: PiNote - free source code editor
Post by: hansotten on November 19, 2020, 03:37:00 pm
Looks good! Thank you!
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on November 19, 2020, 03:41:55 pm
PiNote supports FreeBasic as syntax highlighting. However in the Tools-> External tools section you can configure external executables or scripts. I have never worked with FreeBasic but have only implemented syntax highlighting.
Title: Re: PiNote - free source code editor
Post by: Handoko on November 19, 2020, 03:42:42 pm
Thank you for the information. I will try it.
Title: Re: PiNote - free source code editor
Post by: Roland57 on November 22, 2020, 09:44:04 am
Very impressive. I could compile it without any issue (on Linux Manjaro 64). Now I will take time to try all the features.

Thank you for sharing.
Title: Re: PiNote - free source code editor
Post by: DonAlfredo on November 22, 2020, 11:56:01 am
Very nice and speedy ! Thanks for sharing.
Title: Re: PiNote - free source code editor
Post by: dbannon on November 22, 2020, 12:44:10 pm
Nice !

Davo
Title: Re: PiNote - free source code editor
Post by: howardpc on November 22, 2020, 03:31:14 pm
Thanks for sharing,
I attach an edited messages unit which tidies up the English a bit.
Title: Re: PiNote - free source code editor
Post by: lucamar on November 22, 2020, 04:34:09 pm
Nice editor.

Just a suggestion: add accelerators to menu items and dialog buttons. It's not nice having to reach for the mouse in the middle of a keying session just to do something, and not all people remember all the shortcuts. ;)

Another small sugestion: in sourceforge, set the language to Pascal or Object Pascal (if it exists). Now it's set as "Lazarus", which is not a language at all
Title: Re: PiNote - free source code editor
Post by: marcov on November 22, 2020, 04:55:48 pm
I've just happened to look for a source code editor for FreeBASIC. I have some time for this year end, I think it is good to try new things. A week ago I was interested to try FreeBASIC, unfortunately I couldn't find a good editor for it that runs on Linux.

You mentioned PiNote supports FreeBASIC. How to configure it to make it to work with FreeBASIC.

Most FBers use Geany it seems. I personally don't see anything attractive in FB, except the practical results of how a C backend works out (and I'm not impressed so far)
Title: Re: PiNote - free source code editor
Post by: marcov on November 22, 2020, 04:57:32 pm
Hmm, this reminds me, do we actually have a good syntax highlighter test file with corner cases etc ? Martin?
Title: Re: PiNote - free source code editor
Post by: mika on November 22, 2020, 07:42:24 pm
Nice looking editor.

Deleting word has error. Deletes wrong word.
Does accessing menu with pressing Alt key isn't thing anymore?
How to switch between open tabs (keyboard only)?
Title: Re: PiNote - free source code editor
Post by: AlexTP on November 22, 2020, 08:32:56 pm
Quote
  I have some time for this year end, I think it is good to try new things. A week ago I was interested to try FreeBASIC, unfortunately I couldn't find a good editor for it that runs on Linux.

CudaText
http://synwrite.sourceforge.net/forums/viewtopic.php?f=4&t=2552
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on November 23, 2020, 09:47:12 am
Hi guys,
thanks for the suggestions and for your appreciation of PiNote. I'm working on it as usual.

Regards!!!
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on November 23, 2020, 10:06:35 am
How to switch between open tabs (keyboard only)?

To switch between tabs with keyboard you must use CTRL + Tab + Left or Right key
Title: Re: PiNote - free source code editor
Post by: marcov on November 23, 2020, 10:19:18 am
(windows defaults are ctrl-tab and ctrl-shift-tab)
Title: Re: PiNote - free source code editor
Post by: Zaher on November 23, 2020, 06:53:19 pm
a new competition to my project https://github.com/parmaja/miniedit :)
but I never compiled it for RPi, my raspberry Pi is slow
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on November 24, 2020, 08:58:46 am
a new competition to my project https://github.com/parmaja/miniedit :)
but I never compiled it for RPi, my raspberry Pi is slow

Congratulations, yours is a great project too. Proud to have a competitor of this magnitude  ;)
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on November 25, 2020, 10:54:31 am
Greetings to all of you,
I inform you that I have released version 1.1 of PiNote, which includes improved access to the menus, the management of tabs through the Document menu and the correction of some minor bugs.

You can download everything from the site: https://pinote.sourceforge.io/ (https://pinote.sourceforge.io/)
Title: Re: PiNote - free source code editor
Post by: mika on November 25, 2020, 05:43:28 pm
It's nice and better as before.

Write "āāāāāā ūūūū", place cursor in middle of second word and press ctrl+alt+w

Some commentary about shortcut keys. You have never used Alt+F and then S as save shortcut key combination. For me it's more convenient than ctrl+s

Edit: I did found some more errors. I will leave it be. Fun fact: first release was "lazy cat", now it's "angry cat".
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on November 26, 2020, 10:35:47 am
It's nice and better as before.

Write "āāāāāā ūūūū", place cursor in middle of second word and press ctrl+alt+w

Some commentary about shortcut keys. You have never used Alt+F and then S as save shortcut key combination. For me it's more convenient than ctrl+s

Edit: I did found some more errors. I will leave it be. Fun fact: first release was "lazy cat", now it's "angry cat".

Hi,
thanks for your interest in PiNote!
I just did this test: I typed aaaaa bbbbb. Then I placed the cursor in the middle of the second word. Pressed ctrl + alt + w and it is deleted correctly. I've tried multiple words and it always works.
Was any particular highlight active? I'm interested in the other bugs you've found ...

Regards
Title: Re: PiNote - free source code editor
Post by: mika on November 26, 2020, 11:20:48 am
i use linux version in case

I'm interested in the other bugs you've found ...
1. try delete second word in utf8 text where chars are at least 2 bytes like "āāāāāā ūūūū"
2. cursor after delete word does not follow to place of deleted word.
3. general options [ ] ask confirmation before close. Changing checkbox value will take effect only next time running PiNote.
4. "aaa bb" select second word and Invert case end up with "AAA BBaaa"
5. File->"Save as" Pop up error message "Access violation"
6. On close PiNote button "continue without saving" is correct, but confusing. Better "close without saving".
Title: Re: PiNote - free source code editor
Post by: Edson on November 26, 2020, 02:43:51 pm
It looks good. Congratulations.

Have you consider using SynFacilSyn for your highlighters? You could include code folding, completion code and custom highlighters.
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on November 29, 2020, 10:13:03 am
It looks good. Congratulations.

Have you consider using SynFacilSyn for your highlighters? You could include code folding, completion code and custom highlighters.

Thank you for your compliments. In fact several highlights use SynFacilSyn. Thanks anyway for reporting.

 :D :D :D
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on December 05, 2020, 05:37:13 pm
Version 1.2 of PiNote is released.

Added 4 new highlighters (languages: Groovy, Rust, Awk, Haxe). Added micro editor mode (F12). Added new editing features in Edit->Delete and Edit->Selection. Added document cloning function in Document->Clone current document. Various bugs fixed (damn, they come out of the fucking walls!) many of these reported on this forum.

As always, source and binaries on: https://pinote.sourceforge.io/index.html (https://pinote.sourceforge.io/index.html)

Greetings to all
Title: Re: PiNote - free source code editor
Post by: nummer8 on December 05, 2020, 09:28:06 pm
Just to let you know, I compiled the source without a problem om Mac Big Sur.
Lazarus 2.0.10
Works perfectly.
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on December 06, 2020, 06:15:42 pm
Thanks for the info. I wanted to compile it on Mac too, but I have no hardware or virtual machines with the apple!

 :) :) :)
Title: Re: PiNote - free source code editor
Post by: Nitorami on December 09, 2020, 07:48:28 pm
Hi ecalogiuri
I have downloaded the windows binary because i'm too lazy to compile it myself... it works nicely but I noted that most fonts are displayed with a large space between the characters.

It's not just the exotic fonts, it works fine with Consolas, @NSimSun, @MSGothic, but looks weird with TimesNewRoman, Arial, Calibri and many others.  See screenshot.

Edit: Found a typo in the Fonts Dialog: Rigth edge
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on December 11, 2020, 01:23:04 pm
Hi ecalogiuri
I have downloaded the windows binary because i'm too lazy to compile it myself... it works nicely but I noted that most fonts are displayed with a large space between the characters.

It's not just the exotic fonts, it works fine with Consolas, @NSimSun, @MSGothic, but looks weird with TimesNewRoman, Arial, Calibri and many others.  See screenshot.

Edit: Found a typo in the Fonts Dialog: Rigth edge

Thanks for the report, I'll do some checks in days.
Title: Re: PiNote - free source code editor
Post by: Ñuño_Martínez on December 13, 2020, 12:46:01 pm
Hi ecalogiuri
I have downloaded the windows binary because i'm too lazy to compile it myself... it works nicely but I noted that most fonts are displayed with a large space between the characters.

It's not just the exotic fonts, it works fine with Consolas, @NSimSun, @MSGothic, but looks weird with TimesNewRoman, Arial, Calibri and many others.  See screenshot.
Times, Arial and Calibri are proportional type fonts.  That means the characters have different widths (i.e. the "i" is narrower than "m").  Seems like PiNote is designed to use monospaced type fonts only (such as Console or Curier) that all characters have the same width.
Title: Re: PiNote - free source code editor
Post by: lucamar on December 14, 2020, 01:09:38 am
Seems like PiNote is designed to use monospaced type fonts only (such as Console or Curier) that all characters have the same width.

Indeed: it uses TSynEdit as the base edit control (as said in the original post) and it only works well with monospaced fonts.
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on December 16, 2020, 09:27:05 am
After configuring Lazarus on Haiku, here is the first compilation of PiNote on Haiku i386 (virtualized). It seems to work fine, I just have a few bother with a few graphics. I need to update the sources to correctly recognize the operating system. Probably the future update will also be released for Haiku Os 32/64 bit.

Greetings...
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on January 03, 2021, 05:17:25 pm
Version 1.3 of PiNote is released.

Added 4 new highlighters (languages: F#, R, V, MATLAB). Added SHA256 key generation tool in Tools->SHA256. Added tool for generating text banners (like the banner command in Unix) in Edit->Insert->Banner. Added an interactive mini-map of the document in use in View->Minimap panel. Fixed bug when starting the program in 64 bit Windows. Added support for FreeBSD (32 and 64 bit) and Haiku OS (64 bit).

As always, source and binaries on: https://pinote.sourceforge.io/index.html (https://pinote.sourceforge.io/index.html)

Greetings to all
Title: Re: PiNote - free source code editor
Post by: Roland57 on January 03, 2021, 07:53:07 pm
Congratulations for the new version of PiNote. Compiled successfully in on click on Linux 64.

One question about the "Format" menu item. If I select another encoding, does it change the content of the file, or does it change the way the content of the file is interpreted? It isn't clear for me.

It would be nice to have the possibility to compile and run a program (as in Geany, for example).

If you add support for different languages, I will make with pleasure the french translation.  ;)

Regards.

Roland
Title: Re: PiNote - free source code editor
Post by: AlexTP on January 03, 2021, 09:48:16 pm
@ PiNote author
Since you have Haiku build, can you pls test and confirm this Haiku qt5 bug?
https://bugs.freepascal.org/view.php?id=37268
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on January 04, 2021, 02:17:55 pm
Congratulations for the new version of PiNote. Compiled successfully in on click on Linux 64.

One question about the "Format" menu item. If I select another encoding, does it change the content of the file, or does it change the way the content of the file is interpreted? It isn't clear for me.

It would be nice to have the possibility to compile and run a program (as in Geany, for example).

If you add support for different languages, I will make with pleasure the french translation.  ;)

Regards.

Roland

When a new document encoding type is selected, PiNote updates all the text on the screen to the new selection. That is, the text is fully converted.
As for the compilation of sources, PiNote supports the configuration of various external tools, to be launched via keyboard shortcuts. Find everything in the Tools-> External Tools menu.
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on January 04, 2021, 05:29:44 pm
@ PiNote author
Since you have Haiku build, can you pls test and confirm this Haiku qt5 bug?
https://bugs.freepascal.org/view.php?id=37268

I just tested the reported key shortcuts. PiNote responds in this way: Ctrl + F (Opens the File menu) and Alt + F (Opens the text search function). I tested everything on Haiku Os 64 bit R1/beta 2 revision hrev54154+111.

Greetings.
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on February 16, 2022, 11:32:26 am
Hi guys,
after a very difficult year for myself, I found the time to work a little on my PiNote. I released version 1.3.5 with some new features:

Now the "Micro mode editor" function can be activated (by Options) when starting PiNote. Added octal conversion in the Base converter. Fixed "create banner" function. Multi paste function added and fixed some minor bugs.

I also enjoyed compiling the project with QT5 library support for Linux.

As always, source and binaries on: https://pinote.sourceforge.io/index.html (https://pinote.sourceforge.io/index.html)

This version represents the beginning of a new life for me. I hope to have the peace of mind necessary to continue growing the project.
An affectionate greeting to all!
Title: Re: PiNote - free source code editor
Post by: Roland57 on February 17, 2022, 05:13:02 am
Hi! Thank you for the new version of PiNote.

Two little observations. 1° Each time I execute an external tool, a new window is opened for the output. Wouldn't it be better to reuse the same window?

2° When there is no unsaved modification, PiNote shouldn't ask confirmation when the user click on Exit (IMHO).

Best regards.

Roland
Title: Re: PiNote - free source code editor
Post by: Chronos on February 17, 2022, 09:44:15 am
Added to wiki: https://wiki.freepascal.org/Projects_using_Lazarus_-_Editors_and_IDEs#PiNote
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on February 17, 2022, 03:16:27 pm
Hi! Thank you for the new version of PiNote.

Two little observations. 1° Each time I execute an external tool, a new window is opened for the output. Wouldn't it be better to reuse the same window?

2° When there is no unsaved modification, PiNote shouldn't ask confirmation when the user click on Exit (IMHO).

Best regards.

Roland

Hi and thanks for using PiNote. As for point 1, I'll try to fix it in the next update. For point 2, just go to Edit-> General Options and uncheck the item "Ask confirmation before closing PiNote".

Soon!
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on February 17, 2022, 03:17:58 pm
Added to wiki: https://wiki.freepascal.org/Projects_using_Lazarus_-_Editors_and_IDEs#PiNote

Thank you for adding PiNote to the list of projects developed in Lazarus.

Greetings!
Title: Re: PiNote - free source code editor
Post by: Roland57 on February 17, 2022, 08:08:37 pm
For point 2, just go to Edit-> General Options and uncheck the item "Ask confirmation before closing PiNote".

I should have paid attention to that.  :-[

Thanks for the information.
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on December 13, 2022, 05:54:16 pm
Hi guys, I'm just writing a few lines to communicate the release of PiNote version 1.3.6 (Brutall Cat). Added document ruler support and highlighting for Swift and Dart languages.

As always source and binaries at the usual link: https://pinote.sourceforge.io/index.html (https://pinote.sourceforge.io/index.html)

Hugs to all.
Title: Re: PiNote - free source code editor
Post by: nomorelogic on January 04, 2023, 11:18:20 am
congratulations for your editor, really a good job!
your editor is really easy to use and speed is impressive

I noticed a general speed slowdown of the editor when I copy (in clipboard) i.e. 10000 text lines and the "clipboard panel" is opened.

thanks for sharing
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on January 10, 2023, 08:45:45 am
Thanks for the comments and for reporting, it will be the next test i submit PiNote to.

Greetings!!!
Title: Re: PiNote - free source code editor
Post by: mdalacu on January 10, 2023, 09:19:07 am
Maybe you could try to make an binary editor mode with ASCII chars.
Great application btw!  ;)
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on January 11, 2023, 09:06:26 am
Actually a few years ago i started writing something about it... i have to look into my old backup ;-)
Title: Re: PiNote - free source code editor
Post by: ecalogiuri on June 11, 2023, 06:52:27 pm
Hi guys! How are you?
I wanted to report that I have released the version 1.4 of PiNote.

These are the new features:
   The clipboard panel truncates long lines.
   PiNote detects if the clipboard content has changed (if the cliboard panel is visible) with data from external applications.   
   Software license headers are now inserted with comment characters for each selected language.
   Add support for AutoIt, Erlang, ProtoBuf and Kotlin languages.
   Add license headers for Apache 2.0 and MPL 2.0.
   Add new themes: "Into The Blue" and "Show Walker"
   Add syncro edit activated by ctrl+j or from the Edit->Enable Syncro edit menu.

As always binaries and source on: https://pinote.sourceforge.io/index.html (https://pinote.sourceforge.io/index.html)
TinyPortal © 2005-2018