Sign in Join

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

Mailing lists / lazarus / 1999-05

FLat IDE

7 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Michael A. Hess
to Baeseman, Cliff: -----Original Message----- From: Michael Van Canneyt Sent: Friday, May 21, 1999 9:59 AM…
Cliff wrote
Load from file worked outstanding though ;)

Cliff I haven't tested it but if LoadFromFile worked fine for you then the TIniFile should be working OK now. It was primarily based on TStringList so you might want to give it a try again for the project file data.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Baeseman, Cliff

-----Original Message-----

Earlier message 42 lines
From: Michael Van Canneyt Sent: Friday, May 21, 1999 9:59 AM To: Subject: Re: [lazarus] FLat IDE On Fri, 21 May 1999, Baeseman, Cliff wrote: > Hi All, > > I am able to now open multiple source files on a tabsheet with dynamic > pages much as delphi does but ran into something > interesting last night. > > Shane you may have run into this I do not know. I am using > TStrings.LoadFromFile(Path) to open the file. > This does seem to work very good now BTW. When I load the strings to the > memo all of the strings just run together with > no line breaks. It's as if the TStrings.LoadFromFile is stripping all of the > control chars... > > Is this normal TStrings behavior. ?? This is not normal. The Strings.LoadFromfile puts each line in a separate string. It does so in my test program ? Maybe it is a memo quirck ? Hmmmmmmmmmmm I will look into it further and see if i can isolate it to one or the other. Load from file worked outstanding though ;) Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael Van Canneyt
to Baeseman, Cliff: I am able to now open multiple source files on a tabsheet with dynamic pages much as…
Cliff wrote 14 lines
Hi All, I am able to now open multiple source files on a tabsheet with dynamic pages much as delphi does but ran into something interesting last night. Shane you may have run into this I do not know. I am using TStrings.LoadFromFile(Path) to open the file. This does seem to work very good now BTW. When I load the strings to the memo all of the strings just run together with no line breaks. It's as if the TStrings.LoadFromFile is stripping all of the control chars... Is this normal TStrings behavior.

?? This is not normal.
The Strings.LoadFromfile puts each line in a separate string. It does so in my test program ? Maybe it is a memo quirck ?

Michael.

Reply by email

Mike Z.
to Baeseman, Cliff: I am able to now open multiple source files on a tabsheet with dynamic pages much as…

Cliff:

Just a guess, but isn't the default compiler behavior to use cr-lf terminated strings? Maybe the method you're using isn't in sync with this. Especially if it's working for Michael VC. You don't you try both compiler switches (unix and dos string termination modes) and see what happens.

mz.

you wrote 6 lines
memo all of the strings just run together with no line breaks. It's as if the TStrings.LoadFromFile is stripping all of the control chars... Is this normal TStrings behavior.

Reply by email

Baeseman, Cliff

Hi All,

I am able to now open multiple source files on a tabsheet with dynamic pages much as delphi does but ran into something
interesting last night.

Shane you may have run into this I do not know. I am using TStrings.LoadFromFile(Path) to open the file.
This does seem to work very good now BTW. When I load the strings to the memo all of the strings just run together with
no line breaks. It's as if the TStrings.LoadFromFile is stripping all of the control chars...

Is this normal TStrings behavior.

I am also going to port my lex scanner code to fpc this weekend. It works rock solid and is totally generic code scanner not to mention extrememly fast. Might make color syntax highlighting a little more solid.

BTW, I have also placed a compiler output window at the bottom. Looks pretty much like the delphi editor with the messages window docked at the bottom.

I also am finding that control placement will probably be one of our biggest challenges to face. I do not think we are going to be able to emulate x, y widget placement. It looks like we will have to implement the specific alignment widgets and have the user pick the elignment method to use.

Cliff

- "If you kiss me, I'll turn into a beautiful princess."
- "Look, I'm a computer programmer. I don't have time for girls, but a talking frog is very very cool."

Reply by email

Peter Vreman
to Baeseman, Cliff
you wrote 19 lines
Hi All, I am able to now open multiple source files on a tabsheet with dynamic pages much as delphi does but ran into something interesting last night. Shane you may have run into this I do not know. I am using TStrings.LoadFromFile(Path) to open the file. This does seem to work very good now BTW. When I load the strings to the memo all of the strings just run together with no line breaks. It's as if the TStrings.LoadFromFile is stripping all of the control chars... Is this normal TStrings behavior. I am also going to port my lex scanner code to fpc this weekend. It works rock solid and is totally generic code scanner not to mention extrememly fast. Might make color syntax highlighting a little more solid.

And a scanner will also allow you to add things like. Remove conditional code for conditional X. Etc.

BTW, I have also placed a compiler output window at the bottom. Looks pretty much like the delphi editor with the messages window docked at the bottom.

If you need help with adding the compiler into lazarus just send me an email

Reply by email

Baeseman, Cliff

Yep I will take a look at this tonight. To bad I was writing code like a mad man and
ran slam into the wall..... ;)

Cliff

Earlier message 30 lines
-----Original Message----- From: Mike Z. Sent: Friday, May 21, 1999 11:09 AM To: Subject: Re: [lazarus] FLat IDE Cliff: Just a guess, but isn't the default compiler behavior to use cr-lf terminated strings? Maybe the method you're using isn't in sync with this. Especially if it's working for Michael VC. You don't you try both compiler switches (unix and dos string termination modes) and see what happens. mz. At 09:37 5/21/99 -0500, you wrote: >memo all of the strings just run together with >no line breaks. It's as if the TStrings.LoadFromFile is stripping all of the >control chars... > >Is this normal TStrings behavior. > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email