Author Topic: The 09 February 2019 build (11562) is out.  (Read 10637 times)

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2566
Re: The 09 February 2019 build (11562) is out.
« Reply #15 on: February 13, 2019, 09:08:46 pm »
Khram, are you going to provide one or more example source files in affected character encodings?
With some comments like,
Code: [Select]
математика     // This should not be underlined red
математка       // This should be underlined red
математка математика    // This should underline red only the first word, but not the second

ecc...
provide some example for people who can not speak russian. And provide it as a downloadable file.
Thank you!

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 21
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: The 09 February 2019 build (11562) is out.
« Reply #16 on: February 13, 2019, 10:46:47 pm »
Thanks!

In the present version, the last letter is occasionally underlined in red. When choosing a language, sometimes a serious error in CB also occurs.

I am sure that there is a similar problem for all languages with 8-bit encoding: Russian, Greek, Hebrew, Arabic and all others too.
« Last Edit: February 13, 2019, 10:51:23 pm by Khram »
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-9.2 with CB-11918

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2566
Re: The 09 February 2019 build (11562) is out.
« Reply #17 on: February 14, 2019, 04:46:22 pm »
Quote
Thanks!

In the present version, the last letter is occasionally underlined in red. When choosing a language, sometimes a serious error in CB also occurs.

I am sure that there is a similar problem for all languages with 8-bit encoding: Russian, Greek, Hebrew, Arabic and all others too.

please give us an example file....

It seems that no one here uses a other encoding, so we need an example file from your side....
What happens if you switch encoding to UTF8?

Offline raynebc

  • Almost regular
  • **
  • Posts: 212
Re: The 09 February 2019 build (11562) is out.
« Reply #18 on: March 04, 2019, 07:45:57 pm »
Khram, are you going to provide one or more example source files in affected character encodings?

If you won't provide an actual source file with which this problem occurs, you probably won't get much help with troubleshooting.

Offline raynebc

  • Almost regular
  • **
  • Posts: 212
Re: The 09 February 2019 build (11562) is out.
« Reply #19 on: March 05, 2019, 12:27:10 am »
That's not a file, that is some content from a file.  Likely-relevant details like file name, file encoding, etc. are lost when you copy and paste text from the file.  If you upload the file to a file hosting site of your choice, it will get the ball moving in the right direction.

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 21
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: The 09 February 2019 build (11562) is out.
« Reply #20 on: March 05, 2019, 12:37:38 am »
Required encoding Windows-1251. However, this is not important, the UTF-8 does not work exactly the same.
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-9.2 with CB-11918

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 21
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: The 09 February 2019 build (11562) is out.
« Reply #21 on: March 05, 2019, 12:44:22 am »
Window-Place sources for OpenGL (67 054, from 2019.03.02)  = http://shipdesign.ru/SoftWare/Window-Place.zip
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-9.2 with CB-11918

Offline raynebc

  • Almost regular
  • **
  • Posts: 212
Re: The 09 February 2019 build (11562) is out.
« Reply #22 on: March 05, 2019, 08:59:43 am »
Do all .cpp files in the compressed file you uploaded exhibit the problem, or only specific ones (and if so, which specific ones)?  Are you saying UTF-8 encoded files do not have the problems with spell checking?

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 21
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: The 09 February 2019 build (11562) is out.
« Reply #23 on: March 06, 2019, 04:09:39 am »
Usually dictionaries are compiled in Windows-1251 encoding (why do you need 16 bits if 8 bits are possible and sufficient)
  In addition, the UTP-8 does not work.
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-9.2 with CB-11918

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2566
Re: The 09 February 2019 build (11562) is out.
« Reply #24 on: March 06, 2019, 08:37:00 pm »
Linux mint
File encoding UTF-8 (i open the file from the project, no modification)
Dictionary:
ru_RU.dic: ISO-8859 text, with CRLF, LF line terminators

all seems to work. At least i can not say if it is right or not but nothing seems to be underlined except English words, as expected


@Khram: can you provide:
1 File with
1 line that should not be marked as wrong but is marked as wrong on your system
1 line that should not be marked and is not marked
1 line that should be marked but is not marked
1 line that should be marked and is marked

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 21
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: The 09 February 2019 build (11562) is out.
« Reply #25 on: March 08, 2019, 04:59:42 am »
Good thank you! Now Iíll return the CB from February 9 to test the operation with the UTF-8 encoding (UTF-8 is not yet relevant, as it is not supported by C++ libraries, Win-1251 is always better to use). It is important to note, that all dictionaries in any encodings work well in version CB-9958 ...
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-9.2 with CB-11918

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 21
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: The 09 February 2019 build (11562) is out.
« Reply #26 on: March 08, 2019, 05:19:49 am »
First: for install dictionary with UTF-8 to online: 
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-9.2 with CB-11918

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 21
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: The 09 February 2019 build (11562) is out.
« Reply #27 on: March 08, 2019, 05:29:01 am »
... and next step - same text:
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-9.2 with CB-11918

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 21
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: The 09 February 2019 build (11562) is out.
« Reply #28 on: March 08, 2019, 05:38:02 am »
Similar errors with the Russian-English dictionary in the Win-1251 encoding. (If everything works in Linux, it is very good, in the near future it will be very necessary)
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-9.2 with CB-11918

Offline Khram

  • Multiple posting newcomer
  • *
  • Posts: 21
  • 3D-tensor mathematics - vector space
    • ShipDesign
Re: The 09 February 2019 build (11562) is out.
« Reply #29 on: March 08, 2019, 05:50:04 am »
And the last test: C++ code and dictionary in UTF-8 encodings. The CB-11562 -  full crashes.
C++ & Fortran in MinGW-GCC-4.3.3 & Equation-GCC-9.2 with CB-11918