Mailing lists / fpc-pascal / 2011-06
Userfriendly editor
27 messages · 10 people · –
- FFelipe Monteiro de Carvalho 7
- ZZaher Dirkey 6
- RRainer Stratmann 4
- Rreynolight 3
- Lleledumbo 2
- GGene Buckle 1
- +4 more
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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.
reynolight wrote 15 lines
Another good choice is Notepad++ - http://notepad-plus-plus.org/
g.
http://sourceforge.net/projects/scite++ SciTE++ for sure :) *my modification*
Sorry, wrong link. Should be: http://sourceforge.net/projects/scitepp
Ever tried to use it with FreePascal? If you prefer syntax hilites etc., completely…
reynolight wroteIf 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.
Show quoted text 14 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.)
Just my 2 cents - MiSchi (admits to still use AlphaX on Mac OS X)
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
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? :)
My prime topic in editors is dealing with line endings, because to my surprise some…
Schindler Karl-Michael wrote 10 lines
Yes. Plus easy handling of UTF-8 vs. other encodings, with or without BOM.
Ever tried to use it with FreePascal? If you prefer syntax hilites etc., completely…
reynolight wrote 12 lines
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.
My prime topic in editors is dealing with line endings, because to my surprise some…
Schindler Karl-Michael wroteMy 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
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
Yes. My recommendation for EditPlus is valid only for 32 bit Windows or Linux/Wine. But…
reynolight wroteTo be honest, I would love it to see just one option, _the_ FreePascal IDE.
And IDE and visual development are two different things.
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 wroteYes. 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
And IDE and visual development are two different things.
Does anyone know something similar to Notepad++ written in FPC/Lazarus?
On Wed, Jun 8, 2011 at 3:03 PM, Felipe Monteiro de Carvalho <
Show quoted text 5 lines
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
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?
On Thu, Jun 9, 2011 at 10:38 AM, Felipe Monteiro de Carvalho <
Show quoted text 7 lines
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 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
On Thu, Jun 9, 2011 at 12:33 PM, Felipe Monteiro de Carvalho <
Show quoted text 13 lines
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
Zaher Dirkey wroteYes, it is need minilib http://sourceforge.net/projects/minilib http://minilib.svn.sourceforge.net/viewvc/minilib/
minilib doesn't compile:
ntvTabSets.pas(24,22) Fatal: Can't find unit ntvThemes used by ntvTabSetsLooks like that a file wasn't commited.
On Thu, Jun 9, 2011 at 2:58 PM, Felipe Monteiro de Carvalho <
wrote: ntvTabSets
commits,
Thanks for being patient.
Zaher Dirkey wrotecommits, 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)
On Thu, Jun 9, 2011 at 3:12 PM, Felipe Monteiro de Carvalho <
Show quoted text 11 lines
not understand?
Show quoted text 5 lines
mnStreams.pas not mnStream.pas
It is exists in minilib\lib
Show quoted text 6 lines
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 wrote 8 lines
Actually this unit should not be in this package, but in a separate package for the lib dir.
Felipe Monteiro de Carvalho wrote 13 lines
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
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
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.
