Lazarus

Free Pascal => General => Topic started by: xamminf on May 04, 2018, 03:12:58 pm

Title: Not autosaved
Post by: xamminf on May 04, 2018, 03:12:58 pm
Hi,

Greetings from Spain.  :)

My name is Antonio Martínez

Is it possible in IDE:

1. Lines greater 256 characters
2. IDE without autosave on close.

Regards
Title: Re: Not autosaved
Post by: Handoko on May 04, 2018, 03:39:05 pm
Hello xamminf,
Welcome to the forum.

Which IDE? Did you mean Free Pascal IDE?

I've just tested Lazarus IDE 1.8.0:
- It has no problem with 300+ characters per line
- It doesn't autosave, instead it shows a dialog to let you choose save, not or cancel
Title: Re: Not autosaved
Post by: marcov on May 04, 2018, 04:33:21 pm
1. no.
2. options->preferences -> auto save (3 tick marks).

Title: Re: Not autosaved
Post by: ASerge on May 05, 2018, 06:47:19 am
Confirm. Windows. fp.exe (FPC IDE). Maximum string length of 255 characters.
But why use FPC IDE if you have Lazarus?
Title: Re: Not autosaved
Post by: xamminf on May 06, 2018, 01:02:24 pm
Hi,

Thank you very much for your suppor.

I use FPC because I like Turbo Vision's IDE style from FPC.

For me it is more confortable than RAD style.

Regards
Title: Re: Not autosaved
Post by: anyone on October 17, 2020, 01:59:53 pm
I have ticked the three options in Auto-Save, but IDE does not auto-save when compile?

I would like to have this feature, just like in Visual Studio, it saves editor files when compiling.
Title: Re: Not autosaved
Post by: lucamar on October 17, 2020, 02:30:24 pm
I have ticked the three options in Auto-Save, but IDE does not auto-save when compile?

No, it only does so when a new file is unsaved and you click "Compile" (or Run, Build, etc.); then it asks you for a name, since otherwise it wouldn't know how to name the final executable or intermediate files (*.o, *.or, etc). It might try to "guess" it from the program/unit header but it doesn't at present.

Those three options are meant only for auto-saving (or not) when exiting the IDE.

Of course, you can always request  in the tracker the features you want ;)
Title: Re: Not autosaved
Post by: anyone on October 17, 2020, 04:38:52 pm
Thank you @lucamar, for your clarification.  :)
TinyPortal © 2005-2018