Sign in Join

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

Mailing lists / lazarus / 2015-02

Problems with sourceforge version of Lazarus

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

brian

Hi all,

I'm getting repeated problems with the version of Lazarus which is currently downloadable from SourceForge (1.2.6). I know this isn't the latest version, but as I'm constrained to using it for the program I'm currently writing, I thought I'd post details here in case anyone else has seen it with the current development versions, or it gives the developers an idea of where they might take a look. I'm using the 64-bit gtk-2 version under the latest Debian Wheezy, i.e. fully patched.

I have one relatively large (~3000 lines) unit into which I'm pasting descriptions of the routines from an original specification. The original spec. is an OpenOffice document, should that make a difference.

About every tenth paste, I get an error message

TSynMarkUpHighIfDefLinesNodeInfoList.GetNode
Index=1 Cnt=1 (syneditmarkupifdef.pp, line 809)

and the usual abort / continue at your own risk option.

The first line - and ONLY the first line - of the text I'm pasting gets pasted into the unit.

When I save the unit then exit Lazarus and restart, this confirms that only the one line is in there. We're then good for about another 10 or so paste operations.

Less frequently, when scrolling up and down the file to find the appropriate routine, I get another error message (usually the above one occurs first!)

outernode finish early (syneditmarkupifdef.pp, line 3384)

and again, the abort / continue button.

The problem is nothing major, it's just mildly frustrating, as I said at the top, I'm just posting this information in case it's of use to anyone.

Brian.

Reply by email

Martin Frb
to brian
brian wrote 12 lines
I have one relatively large (~3000 lines) unit into which I'm pasting descriptions of the routines from an original specification. The original spec. is an OpenOffice document, should that make a difference. About every tenth paste, I get an error message TSynMarkUpHighIfDefLinesNodeInfoList.GetNode Index=1 Cnt=1 (syneditmarkupifdef.pp, line 809) and the usual abort / continue at your own risk option.

Afaik all fixes have been werged..

Anyway, it would be good if it was possible to reproduce the issue here.
1) Can you run lazarus with
lazarus.exe --debug-log=C:\log.txt
and send the log (to my address, or open an issue in mantis). It will hopefully have a stacktrace.

2) I do not know if the text source you are working on is available. A snippet that reproduces it, would be helpful.

3) If you need a workaround, disable the ifdef lowlighter. Menu: Tools > Options > Editor / Display / Colors

In the color listbox scroll down, and utset all colors related to ifdef. (That is when selecting the color, remove all check boxes.)

Reply by email