Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Syntax Edit
  New Posts New Posts RSS Feed - I think there is a null string bug in your editor
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

I think there is a null string bug in your editor

 Post Reply Post Reply
Author
Message
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Topic: I think there is a null string bug in your editor
    Posted: 28 August 2009 at 4:11am

uploads/20090828_041655_error.zip
I think there is a bug in your Extreme Toolkit S/W (v12.0.0).
Please fix it for me or let me know how to solve this by myself.

When opening the text editor in Extreme Toolkit (v12.0.0), you can find something wrong happened.
I think that's because Extreme Toolkit is misunderstanding a null character as a carrage return character as shown in the attachement.
This bug is very critical to me, so I can't keep my programming at work anymore.
Please email me a debugged souce file of Extreme Toolkit ASAP.

Best Regards,

In-ho Park

Email: cm_yayo@daum.net

hi
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2009 at 9:45am
Are you sure you use unicoded version?
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2009 at 8:13pm
No
is mbcs version.
hi
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2009 at 8:32pm
Take the attached(linked) sample downloads
and
Test syntext editor
hi
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 02 September 2009 at 10:20pm
There is no attachment (?!)
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 12:18am
hi
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 12:24am
So that - same picture and text file I already show you in hex view? I expected some sample code to compile and check your case...
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 12:45am
Make use codejock mdi test editor sampe code
 
it(mdi test editor) was based on coding
hi
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 12:48am
Do not look at another view, or view a hex editor 
The problem must remember to use the editor codejock
hi
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 12:51am
So what should I do? Open your text file in our SyntaxEditor app? Under which syntax scheme? You text file - not programming code...
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 12:54am
I'm sorry!!
Do not use English well.
hi
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 12:56am
text file not souce code!!
 
u must open in syntaxeditor!!
 
syntaxeditor source code bug!!
hi
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 1:02am
I start with VS2008 - try to open your file as source - see result
 
SyntaxEdit - mostly  the tool for formal labguages - not binary file reader (except unicode case where used special symbols for encoding)
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 5:42am

I will explain how to check my problem step by step.

1) Open "MDITextEditor" project file in Visual Studio.
2) Compile "MDITextEditor" project file.
3) Execute compiled executable file (MDITextEditor.exe).
4) Open "error.txt" (<= I uploaded it) using "MDITextEditor.exe"
5) Compare the difference between "error.txt" in "Notepad.exe" and "error.txt" in "MDITextEditor.exe"
 
If you reach Step 5), you can find the problem.
"Notepad.exe" can determine Null String, but "MDITextEditor" cannot do it.
 
* My version number is Xtreme ToolkitPro v12.0 and VisualStudio version is v2003.
hi
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 8:45am
Not a big deal. This is not file created by SymtaxEdit. You can use simple piece of code for changing \0 to some other symbol.
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 8:21pm
Notepad is the same too?
Other editor is the same too?
 
text
ansi encoding..
 
I had to download from the homepage syntexeditor
and is well
 
Take you to download it.
 
hi
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 8:29pm
I know - you can also use nice and free SciTE editor - it also convert \0 to smth. This is easy and not critical. Just say which symbol you like to see instead of \0 - and I can add this simple replacement. sometime (as consider this is very minor improvement).
But VS2008 editor refuse to get you file - because it source-code oriented tool
 
And see - SciTE show very ugly black NUL 3-symbols instead of 1 if it open your file
 
 
But if you get same file from clipboard (from notepad) - both applications show it better:
 
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 8:56pm

VS2007 so that the bug is not it?

The line is very important to my project. 
 
I am your toolkit and work itself are wrong?
 
An example of my project. (Conducted three years )
 
 There is no upload button.
 I will upload a picture?
 
 
hi
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 9:07pm
I found the Upload button.
 
scite does not fit the line. 
And I was using it before now uses syntexeditor
 
NUL symbol should not be seen
All rows and columns must be accurate. 
We use the location to extract the data.
 
 
 
hi
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 9:08pm
If this is your project - you can easy support such modification yourself - before (\0 => SMTH) and after (SMTH => \0) sendning text to SyntaxEdit - so editor will show all properly
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 9:27pm
Create a new code is already used. 
Currently my code is not the problem.
 
The next time you update the project only when it causes problems.
 
thank you!!
hi
Back to Top
yayo View Drop Down
Groupie
Groupie
Avatar

Joined: 22 December 2006
Location: Korea, South
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote yayo Quote  Post ReplyReply Direct Link To This Post Posted: 03 September 2009 at 9:32pm
 
The next time you(==extreme toolkit latest version) update the project only when it causes problems.
hi
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 04 September 2009 at 8:49pm
Thank you - next big update I will add some flag about \0 type of presentation including your '' case
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.