Recent

Author Topic: Two new softwares written in Lazarus / FPC  (Read 16005 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Two new softwares written in Lazarus / FPC
« on: August 26, 2010, 04:42:34 am »
FreeEdit
FreeEdit is a text editor oriented toward programmers to aid programming activities with light resources. It aims to be like Lazarus standalone editor but with additions here and there.

ERD Maker
ERD Maker is a compiler for ERD Maker language, designed to create ER Diagram from textual representation. Watch out, if you invoke the compiler without arguments, it will print some options but none are working now. The current only way to get direct final output is:
Quote
emlc input.eml | neato -T png -o output.png

Please share your thoughts about both softwares.

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Two new softwares written in Lazarus / FPC
« Reply #1 on: August 26, 2010, 09:01:59 am »
Nice Leledumbo.

I just tried FreeEdit.
Options are not saved?
tabs are a great feature. you just miss highlighting and support different languages,
but i guess you just started it so... :)

nice work
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Two new softwares written in Lazarus / FPC
« Reply #2 on: August 26, 2010, 09:16:32 am »
Quote
Options are not saved?
Yes, I'm still looking for a way to do it like lazarus' environment options. Perhaps it's a simple hide and show of frames ended with TIniFileStorage.

captian jaster

  • Guest
Re: Two new softwares written in Lazarus / FPC
« Reply #3 on: August 26, 2010, 09:12:30 pm »
Quote
Options are not saved?
Yes, I'm still looking for a way to do it like lazarus' environment options. Perhaps it's a simple hide and show of frames ended with TIniFileStorage.
I find it easier to use a simple TINIFile Class and over write the file when needed :P

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Two new softwares written in Lazarus / FPC
« Reply #4 on: August 27, 2010, 05:39:33 am »
Sorry, it should be TIniPropStorage. The problem is when a node is clicked, the right side has to be changed, but the changes are preserved until the user get out of the dialog (either by pressing ok or cancel). I need to keep a temporary user preferences elsewhere...

Quote
I find it easier to use a simple TINIFile Class and over write the file when needed
I prefer TIniPropStorage because it's a visual component and intended to save form's state.

captian jaster

  • Guest
Re: Two new softwares written in Lazarus / FPC
« Reply #5 on: August 27, 2010, 05:31:22 pm »
Sorry, it should be TIniPropStorage. The problem is when a node is clicked, the right side has to be changed, but the changes are preserved until the user get out of the dialog (either by pressing ok or cancel). I need to keep a temporary user preferences elsewhere...

Quote
I find it easier to use a simple TINIFile Class and over write the file when needed
I prefer TIniPropStorage because it's a visual component and intended to save form's state.
Well thats possible...
Code: Pascal  [Select][+][-]
  1. Procedure SomeForm.OnClose//Cant remember the on close procedure
  2. begin
  3.    SomeINI.WriteString('form','H',inttostr(SomeForm.Height));
  4. end;
  5.  
But your code will work just fine :D

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Two new softwares written in Lazarus / FPC
« Reply #6 on: August 28, 2010, 06:11:52 am »
You mean using another temporary ini files? That's possible... hmm...

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Two new softwares written in Lazarus / FPC
« Reply #7 on: August 28, 2010, 12:40:01 pm »
Or you could do a restore options on FormCreate
and a Save in OnButtonOkayClick in the options, also in OnClose
using local variables into your option form, it would work perfectly
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

Gintas

  • Jr. Member
  • **
  • Posts: 71
    • Developer's Diary
Re: Two new softwares written in Lazarus / FPC
« Reply #8 on: August 30, 2010, 10:37:31 am »
Looks a little bit more than Notepad. Wish you luck to make something like GEdit or Geany :)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Two new softwares written in Lazarus / FPC
« Reply #9 on: August 30, 2010, 01:08:19 pm »
Quote
Looks a little bit more than Notepad. Wish you luck to make something like GEdit or Geany
Well, that's the current state. If you see readme.txt you can see the final goal. It's even far better than GEdit, not sure about Geany (I used it once, and don't like the interface).

I've fixed some bugs and (really) added all available highlighters (I forgot to add them to the drop down menu), maybe I'll push it tomorrow.

I'm looking for a way to embed real console (cmd on Win, and xterm / whatever on Lin, have no idea on Mac since I don't have this), or do you think it's better for users to choose terminal that they like and the application only serve a wrapper over it?

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: Two new softwares written in Lazarus / FPC
« Reply #10 on: August 30, 2010, 01:58:57 pm »
if you can detect what terminal they uses, you could embed it
or you can make configurable tools and shortcuts for users :)
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

captian jaster

  • Guest
Re: Two new softwares written in Lazarus / FPC
« Reply #11 on: August 30, 2010, 02:57:46 pm »
user config really makes a program.. Something alot of lazarus devs are doing is putting the config and program in 2 diffrenet exe's..

Gintas

  • Jr. Member
  • **
  • Posts: 71
    • Developer's Diary
Re: Two new softwares written in Lazarus / FPC
« Reply #12 on: August 31, 2010, 04:25:43 pm »
Well I hope this will turn into something useful. :) I am using CodeTyphon version of Lazarus and it already comes with handy Notepad2 editor. But on Windows I use Notepad++ and Geany daily. The things I am missing for Windows is good Wiki syntax notepad with live preview and better terminal like on XFCE and GNOME environments.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Two new softwares written in Lazarus / FPC
« Reply #13 on: September 01, 2010, 12:00:27 pm »
Since the architecture is pluggable, I guess a live preview could be one of the plugins. The syntax highlighter could be a plugin as well, or hardcoded for better performance. Does every wiki has the same syntax?

 

TinyPortal © 2005-2018