* * *

Author Topic: Bug in the 3.1.1 IDE ?  (Read 2770 times)

Nitorami

  • Full Member
  • ***
  • Posts: 198
Bug in the 3.1.1 IDE ?
« on: April 03, 2015, 11:04:02 pm »
Hi all

To use the convenient "Turbo pascal style" help with the IDE, I downloaded the help files a while ago, stored them locally, build an index (which takes a while !), then told the IDE under Help/Files where it is. That used to work fine with 2.6.4.

But the IDE I built with FPC 3.1.1 has problems with the help file names, and works only for one session.
I found that the help file is stored correctly in fp.ini:

[Help]
Files="D:\Programme\FPC\doc\fpctoc.htx|HTML Index"

But on restart, the IDE reads garbage like D:ProgrammeFPCdocfptoc etc.
This is only a problem for the help file; the directories under Options/Directories are read ok.

Does anyone have the same issue ?



marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5529
Re: Bug in the 3.1.1 IDE ?
« Reply #1 on: April 03, 2015, 11:24:28 pm »
I'm surprised that you held on to html docs so long :-)

Simply use the chm docs. Decompression and building the index is no longer such problem.

IIRC there is either some textmode IDE how to install the chm's in the doc-chm archive, or in the wiki. (basically, simply add them one by one, adding toc.chm first)

Nitorami

  • Full Member
  • ***
  • Posts: 198
Re: Bug in the 3.1.1 IDE ?
« Reply #2 on: April 04, 2015, 10:26:26 am »
I'm an old fart, that's why.

Will try the CHM version although I doubt this solves the problem that the IDE messes up the path names.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5529
Re: Bug in the 3.1.1 IDE ?
« Reply #3 on: April 04, 2015, 11:13:13 am »
Yes definitely a bug. Please file a report.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5529
Re: Bug in the 3.1.1 IDE ?
« Reply #4 on: April 05, 2015, 05:33:22 pm »
I think it is in the ini file reading, r28925 that strips out backslashes (intended for some other value type)

r28925 | pierre | 2014-10-25 01:18:38 +0200 (Sat, 25 Oct 2014) | 1 line

 Support for quotes inside Values
------------------------------------------------------------------------

If you pin ide/wini.pas to r28924 it will probably resolved, I notified Pierre to have a look. Resolved for both html and chm, but I still recommend CHM long term. It is based on the same html code(both the reading code in the textmode IDE as the generation of the help), but easier to manipulate and index because of the archived format.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus