Author Topic: Toggle comment  (Read 17370 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Toggle comment
« Reply #15 on: June 28, 2006, 09:35:27 pm »
committed : rev 2628

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Toggle comment
« Reply #16 on: June 28, 2006, 11:28:11 pm »
I'll try to test if it works with the new wxScintilla, but I have already a workaround in mind which I am gonna try out first.
You can do other work instead - I've tried it with wxScintilla 1.69.2 -> the same problem there. Anyway: Are you sure it's caused by wxScintilla? I'd still say the calculation was wrong.
Howver, your patch works fine and makes the code more readable in addition. Good work, problem solved. :D
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

lfm

  • Guest
Re: Toggle comment
« Reply #17 on: June 29, 2006, 11:18:44 am »
Thx :D

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: Toggle comment
« Reply #18 on: June 29, 2006, 11:49:22 am »
Quote
I'd still say the calculation was wrong.
Well the caluclutation seems ok, unless things should be specified in "characters". Then it's wrong because the 2 unicode characters take up 4 bytes. Well I have tried to send as end position "xyz-2" but things even got worse.