Recent

Author Topic: Extra tabs opening in editor  (Read 16020 times)

HomePlaneR

  • New Member
  • *
  • Posts: 34
Re: Extra tabs opening in editor
« Reply #15 on: June 24, 2012, 09:18:40 pm »
Martin_fr,

Done. Log file is attached.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11923
  • Debugger - SynEdit - and more
    • wiki
Re: Extra tabs opening in editor
« Reply #16 on: June 24, 2012, 10:40:26 pm »
While I was looking for more places to put in debugln log messages, I found to more possible issues.

In components\lazutils\lazfileutils.pas
search for   AnsiCompareText
you should find 2, replace them with   UTF8CompareText

and lets see, if that helps

---
If not see attached, for getting a few extra log msgs.
« Last Edit: June 24, 2012, 10:45:02 pm by Martin_fr »

HomePlaneR

  • New Member
  • *
  • Posts: 34
Re: Extra tabs opening in editor
« Reply #17 on: June 25, 2012, 12:00:55 am »
Unfortunately the bug is still there.

New log file is attached.

I have just noticed another problem which can be relied with our one. Compiled program can not open files whose path contains Cyrillic characters neither with standard Pascal file routines (Assign, Reset, etc.) nor with TFileStream. Does this mean that a nice part of my file system is not accessible for programs written in Lazarus?
« Last Edit: June 25, 2012, 12:04:26 am by HomePlaneR »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11923
  • Debugger - SynEdit - and more
    • wiki
Re: Extra tabs opening in editor
« Reply #18 on: June 25, 2012, 12:08:52 am »
About the "can't open" IIRC that is an issue in FPC, and is being worked on maybe in 2.7.1. But I do not know.

If the IDE can, then so should your app. Try TFileStreamUtf8 or similar

I will look into the logs

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11923
  • Debugger - SynEdit - and more
    • wiki
Re: Extra tabs opening in editor
« Reply #19 on: June 25, 2012, 12:32:01 am »
Please apply in addition to the previous patches.

Be sure the file components\lazutils\lazfileutils.pas does NOT contain any
AnsiCompareText

ADDED: there is also components\lazutils\fileutil.inc
same replacements, please

----
When building the IDE, ensure to check "clean all"

HomePlaneR

  • New Member
  • *
  • Posts: 34
Re: Extra tabs opening in editor
« Reply #20 on: June 25, 2012, 12:49:18 am »
It works! New tab doesn't appear. I will make several more test to ensure...

Just in case, log file is attached.

(Added)
Yes it works for sure.
I did all modifications you wrote and I put "clean all" in options. Sorry, it wasn't checked before.
« Last Edit: June 25, 2012, 12:53:20 am by HomePlaneR »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11923
  • Debugger - SynEdit - and more
    • wiki
Re: Extra tabs opening in editor
« Reply #21 on: June 25, 2012, 01:12:19 am »
It works! New tab doesn't appear. I will make several more test to ensure...
Good :)

Quote
I did all modifications you wrote and I put "clean all" in options. Sorry, it wasn't checked before.
It should not be needed, but sometimes...

Please test tomorrow with the 0.9.31 fixes snapshot (It will be available between 2:00 and 3:00 GMT+0)
I should have all the relevant fixes applied to it.

Sorry for the small updates. I should have found all the AnsiCompare in one go... But my mind was pre-occupied otherwise.

HomePlaneR

  • New Member
  • *
  • Posts: 34
Re: Extra tabs opening in editor
« Reply #22 on: June 25, 2012, 01:16:15 am »
Cool. :)

I'll test the snapshot between 12:00 and 13:00 GMT (I can't do it earlier) and report here if all is ok.

Ask

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 687
Re: Extra tabs opening in editor
« Reply #23 on: June 25, 2012, 02:28:30 am »
Wow.
If this is finally fixed, my students will hopefully stop referring to Lazarus as
"that ancient IDE which can not even read russian file names properly" :-)
Many thanks.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11923
  • Debugger - SynEdit - and more
    • wiki
Re: Extra tabs opening in editor
« Reply #24 on: June 25, 2012, 02:43:27 am »
Well this was the first time I heard of this issue.

HomePlaneR

  • New Member
  • *
  • Posts: 34
Re: Extra tabs opening in editor
« Reply #25 on: June 25, 2012, 12:43:16 pm »
Wow.
If this is finally fixed, my students will hopefully stop referring to Lazarus as
"that ancient IDE which can not even read russian file names properly" :-)
Many thanks.

I didn't notice any other problems concerning Russian file names in IDE.

I have just tested new snapshot. To be sure I completely uninstalled previous version.
So, the bug is fixed.

Martin_fr, thanks for your attention to the problem.
« Last Edit: June 25, 2012, 12:52:47 pm by HomePlaneR »

 

TinyPortal © 2005-2018