Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-06

Userfriendly editor

27 messages · 10 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

reynolight
to Rainer Stratmann
Rainer Stratmann wrote 9 lines

Ever tried to use it with FreePascal?

If you prefer syntax hilites etc., completely customizable to your requirements, go and get EditPlus, www.editplus.com. Even on Wine.

Reply by email

Gene Buckle
to reynolight
reynolight wrote 15 lines
Am 06.06.2011 22:02, schrieb Rainer Stratmann: > http://www.geany.org/ > Screenshots: > http://www.geany.org/uploads/Gallery/geany_main.png > http://www.geany.org/uploads/Gallery/geany_build.png > > http://www.geany.org/uploads/Gallery/geany_plugins.png > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal Ever tried to use it with FreePascal? If you prefer syntax hilites etc., completely customizable to your requirements, go and get EditPlus, www.editplus.com. Even on Wine.

Another good choice is Notepad++ - http://notepad-plus-plus.org/

g.

Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.simpits.org/geneb - The Me-109F/X Project ScarletDME - The red hot Data Management Environment A Multi-Value database for the masses, not the classes. http://www.scarletdme.org - Get it _today_! Political correctness is a doctrine, fostered by a delusional, illogical minority, and rabidly promoted by an unscrupulous mainstream media, which holds forth the proposition that it is entirely possible to pick up a turd by the clean end.

Reply by email

Graeme Geldenhuys
to reynolight: Ever tried to use it with FreePascal? If you prefer syntax hilites etc., completely…
reynolight wrote
If you prefer syntax hilites etc., completely customizable to your requirements, go and get EditPlus, www.editplus.com. Even on Wine.

How do you call a FPC 64-bit Linux compiler from a 32-bit WINE editor? That's where such solutions fall over.

Another good alternative, and extremely fast editor is jEdit. Or even MSEide is a good choice. I use the latter quite often these days, yet I don't develop MSEgui based applications.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Schindler Karl-Michael
Show quoted text 14 lines
Message: 4 Date: Tue, 7 Jun 2011 20:02:20 +0200 From: Graeme Geldenhuys Subject: Re: [fpc-pascal] Userfriendly editor To: FPC-Pascal users discussions Message-ID: Content-Type: text/plain; charset=UTF-8 How do you call a FPC 64-bit Linux compiler from a 32-bit WINE editor? That's where such solutions fall over. Another good alternative, and extremely fast editor is jEdit. Or even MSEide is a good choice. I use the latter quite often these days, yet I don't develop MSEgui based applications.

My prime topic in editors is dealing with line endings, because to my surprise some editors still fail. The behavior I expect is:

1) Save in the same format as opened. Definitely no automatic conversion. (Think of editing files on a samba share)
2) Ability of convert in "Save As" or similar.
3) Ability to fix files with mixed line endings.
(Hard to believe, but there are some win32 editors, which set the line endings of new lines to windows style but leave the other lines as they are in files with unix style.)

Just my 2 cents - MiSchi (admits to still use AlphaX on Mac OS X)

Reply by email

reynolight
to Graeme Geldenhuys: How do you call a FPC 64-bit Linux compiler from a 32-bit WINE editor? That's where such…
Graeme Geldenhuys wrote 5 lines
On 7 June 2011 16:00, reynolight wrote: > If you prefer syntax hilites etc., completely customizable to your > requirements, go and get EditPlus, www.editplus.com. Even on Wine. How do you call a FPC 64-bit Linux compiler from a 32-bit WINE editor? That's where such solutions fall over.

Yes. My recommendation for EditPlus is valid only for 32 bit Windows or Linux/Wine. But there, nothing compares to it.

Another good alternative, and extremely fast editor is jEdit. Or even MSEide is a good choice. I use the latter quite often these days, yet I don't develop MSEgui based applications.

When I am using a plain editor for Pascal development, everything comes down to real customization of syntax hilites and keyboard shortcuts, powerful search & replace, integrated console window, jumping on the source line by doubleclick etc. That's where EP shines, and, from my point of view, no other editor compares.

An IDE is a different category. Lazarus or MSE.

To be honest, I would love it to see just one option, _the_ FreePascal IDE.

With my first 64-bit machine these days, I am going to switch to Lazarus. Thought, you already did so, years ago? :)

Reply by email

reynolight
to Schindler Karl-Michael: My prime topic in editors is dealing with line endings, because to my surprise some…
Schindler Karl-Michael wrote 10 lines
My prime topic in editors is dealing with line endings, because to my surprise some editors still fail. The behavior I expect is: 1) Save in the same format as opened. Definitely no automatic conversion. (Think of editing files on a samba share) 2) Ability of convert in "Save As" or similar. 3) Ability to fix files with mixed line endings. (Hard to believe, but there are some win32 editors, which set the line endings of new lines to windows style but leave the other lines as they are in files with unix style.)

Yes. Plus easy handling of UTF-8 vs. other encodings, with or without BOM.

Reply by email

Rainer Stratmann
to reynolight: Ever tried to use it with FreePascal? If you prefer syntax hilites etc., completely…
reynolight wrote 12 lines
Am 06.06.2011 22:02, schrieb Rainer Stratmann: > http://www.geany.org/ > Screenshots: > http://www.geany.org/uploads/Gallery/geany_main.png > http://www.geany.org/uploads/Gallery/geany_build.png > > http://www.geany.org/uploads/Gallery/geany_plugins.png > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal Ever tried to use it with FreePascal?

No, but it seems very userfriendly and if you look in the description you see that the soucecode can be written in pascal also.

If you prefer syntax hilites etc., completely customizable to your requirements, go and get EditPlus, www.editplus.com. Even on Wine.

Reply by email

Rainer Stratmann
to Schindler Karl-Michael: My prime topic in editors is dealing with line endings, because to my surprise some…
Schindler Karl-Michael wrote
My prime topic in editors is dealing with line endings, because to my surprise some editors still fail. The behavior I expect is:

Why I not use MSEgui is because the cursor does not go behind a line ending. This is a constraint when editing code.

Show quoted text 7 lines
1) Save in the same format as opened. Definitely no automatic conversion. (Think of editing files on a samba share) 2) Ability of convert in "Save As" or similar. 3) Ability to fix files with mixed line endings. (Hard to believe, but there are some win32 editors, which set the line endings of new lines to windows style but leave the other lines as they are in files with unix style.)

There should be a solution for that...

Just my 2 cents - MiSchi (admits to still use AlphaX on Mac OS X) _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Martin
to reynolight: Yes. My recommendation for EditPlus is valid only for 32 bit Windows or Linux/Wine. But…

preface:
Since this is afaik all off-topic, I did set a reply-to to fpc-other. If anyone feels the need to reply to this (my) mail, then please honour it.

reynolight wrote
Yes. My recommendation for EditPlus is valid only for 32 bit Windows or Linux/Wine. But there, nothing compares to it.

I find that very hard to believe:
there are plenty of free good editors available (free). Some of them surely must be as good as.

There is valuable software out there, which is well worth the money and price the author asks for.
But an editor to me does not fall into this category. Price/value is not solely determined by features/quality of a single product (editor); it depends on the price of competing products. And with editors all the competition comes for free (only talking about those which are officially/legally free)

Anyway, that said, I had little need myself, to edit entire pascal projects outside an IDE. So i haven't spent to much time in comparison, and I am not planning on going to.
Neither am I looking to find a new editor for my personal usage. Just thought I add my 2 cents here.

Martin

Reply by email

Zaher Dirkey
to Felipe Monteiro de Carvalho

On Wed, Jun 8, 2011 at 3:03 PM, Felipe Monteiro de Carvalho <

Show quoted text 5 lines
wrote: Does anyone know something similar to Notepad++ written in FPC/Lazarus?

I am working on my MiniEdit, it is not for PHP only, but still need to more of times.

http://www.parmaja.com/pages/63
https://github.com/parmaja/miniedit

Show quoted text 6 lines
-- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Zaher Dirkey

Reply by email

Felipe Monteiro de Carvalho
to Zaher Dirkey

Interresting, my needs are very basic, so I have some questions (maybe the answers could be put in the wiki):

1> What are the commands to download the source via git?

2> Does it support opening files by passing a command line argument?

3> Which syntaxes does it support?

4> Which encodings does it support?

5> It seams that it has no install script, I can contribute one, if there are instructions about how to generate a patch using git

6> Which rendering component does it use? SynEdit?

Felipe Monteiro de Carvalho

Reply by email

Zaher Dirkey
to Felipe Monteiro de Carvalho

On Thu, Jun 9, 2011 at 10:38 AM, Felipe Monteiro de Carvalho <

Show quoted text 7 lines
wrote: Interresting, my needs are very basic, so I have some questions (maybe the answers could be put in the wiki): 1> What are the commands to download the source via git?

There is download button in github project page for downloading the source. https://github.com/parmaja/miniedit/archives/master

2> Does it support opening files by passing a command line argument?

Yes, and one instance

3> Which syntaxes does it support?

All syntaxes that SynEdit can support it.

4> Which encodings does it support?

Only UTF8, i need to write function to detect the encoding from the file.

5> It seams that it has no install script, I can contribute one, if there are instructions about how to generate a patch using git

There is installer for Win32 using InnoSetup, but my target it is to be portable, so it is no need to have installer.
For linux, you can write it.

6> Which rendering component does it use? SynEdit?

Yes, Lazarus SynEdit

But i still need to work on it before make a beta version of it.

Zaher Dirkey

Reply by email

Zaher Dirkey
to Felipe Monteiro de Carvalho

On Thu, Jun 9, 2011 at 12:33 PM, Felipe Monteiro de Carvalho <

Show quoted text 13 lines
wrote: On Thu, Jun 9, 2011 at 12:13 PM, Zaher Dirkey wrote: >> 1> What are the commands to download the source via git? > > There is download button in github project page for downloading the source. > https://github.com/parmaja/miniedit/archives/master What is this "NativeLib" package that it requires? I tryed to simply remove this dependency, but then it can't find mnSockets

Yes, it is need minilib

http://sourceforge.net/projects/minilib
http://minilib.svn.sourceforge.net/viewvc/minilib/

I Updated the Wiki in github

Show quoted text 6 lines
-- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Zaher Dirkey

Reply by email

Felipe Monteiro de Carvalho
to Zaher Dirkey
Zaher Dirkey wrote
commits, Thanks for being patient.

Some more issues:

1> miniedit is missing a dependency on the package minisocket, even while it requires it

2> The file mnStream.pas cannot be found by the package minisockets (it wasn't commited, it seams)

Felipe Monteiro de Carvalho

Reply by email

Zaher Dirkey
to Felipe Monteiro de Carvalho

On Thu, Jun 9, 2011 at 3:12 PM, Felipe Monteiro de Carvalho <

Show quoted text 11 lines
wrote: On Thu, Jun 9, 2011 at 3:06 PM, Zaher Dirkey wrote: > commits, > Thanks for being patient. Some more issues: 1> miniedit is missing a dependency on the package minisocket, even while it requires it

not understand?

Show quoted text 5 lines
2> The file mnStream.pas cannot be found by the package minisockets (it wasn't commited, it seams)

mnStreams.pas not mnStream.pas
It is exists in minilib\lib

Show quoted text 6 lines
-- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Zaher Dirkey

Reply by email

Felipe Monteiro de Carvalho
to Zaher Dirkey
Zaher Dirkey wrote
> 1> miniedit is missing a dependency on the package minisocket, even > while it requires it not understand?

miniedit requires a lot of packages which are not added to it's Project Inspector.

Try going to your Project Options dialog, then to Paths and remove everything under "Other Units" and "Include files"

Now try to compile the project. Lots of units are missing, because you just added paths to them, which are only valid in your computer. The standard way is adding packages as dependencies in the Project Inspector.

mnStreams.pas not mnStream.pas It is exists in minilib\lib

But the paths in the package are wrong.

Your lpk file says:

- <Item9>
- <Filename Value="mnStreams.pas"/>
- <UnitName Value="mnStreams"/>
- </Item9>

Which is wrong, this file doesn't exist in the same directory as the LPK. It should be:

+ <Item8>
+ <Filename Value="..\..\lib\mnStreams.pas"/>
+ <UnitName Value="mnStreams"/>
+ </Item8>

msConsts.pas is also pointing to a wrong path.

Felipe Monteiro de Carvalho

Reply by email

Felipe Monteiro de Carvalho
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 8 lines
But the paths in the package are wrong. Your lpk file says: -      <Item9> -        <Filename Value="mnStreams.pas"/> -        <UnitName Value="mnStreams"/> -      </Item9>

Actually this unit should not be in this package, but in a separate package for the lib dir.

Felipe Monteiro de Carvalho

Reply by email

Jonas Maebe
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 13 lines
On Thu, Jun 9, 2011 at 3:43 PM, Felipe Monteiro de Carvalho wrote: > But the paths in the package are wrong. > > Your lpk file says: > > - <Item9> > - <Filename Value="mnStreams.pas"/> > - <UnitName Value="mnStreams"/> > - </Item9> Actually this unit should not be in this package, but in a separate package for the lib dir.

Please continue this discussion either in private or on the fpc-other list. It's getting really off-topic.

Thanks,

Jonas
FPC mailing lists admin

Reply by email

Zaher Dirkey
to Felipe Monteiro de Carvalho: On Thu, Jun 9, 2011 at 3:43 PM, Felipe Monteiro de Carvalho Actually this unit should not…

On Thu, Jun 9, 2011 at 3:47 PM, Felipe Monteiro de Carvalho <

Show quoted text 14 lines
wrote: On Thu, Jun 9, 2011 at 3:43 PM, Felipe Monteiro de Carvalho wrote: > But the paths in the package are wrong. > > Your lpk file says: > > - <Item9> > - <Filename Value="mnStreams.pas"/> > - <UnitName Value="mnStreams"/> > - </Item9>

Ah, That is because u r trying to compile minisockets.lpk. it is very old :P In fact i only compile NativeLib.lpk, other sources i used it directly, but i think your way the correct way.

Show quoted text 9 lines
Actually this unit should not be in this package, but in a separate package for the lib dir. -- Felipe Monteiro de Carvalho _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Zaher Dirkey

Reply by email