Print Page | Close Window

Load File into SyntaxEditor

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Syntax Edit
Forum Description: Topics Related to Codejock Syntax Edit
URL: http://forum.codejock.com/forum_posts.asp?TID=7866
Printed Date: 28 September 2024 at 6:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Load File into SyntaxEditor
Posted By: jimmy
Subject: Load File into SyntaxEditor
Date Posted: 24 August 2007 at 5:32am
Hello,

There is a problem at reload another file into SyntaxEditor.
Reproduce:

Create a singledoc application with SyntaxEditView
Load big file.
scroll to end of file.
Now load another small file.
Now the EditCtrl has some trouble.

>    ToolkitPro1113vc71D.dll!CXTPSyntaxEditView::Refresh()  Zeile 633    C++
     ToolkitPro1113vc71D.dll!CXTPSyntaxEditView::OnUpdate(CView * pSender=0x00000000, long lHint=2, CObject * pHint=0x00000000)  Zeile 1529    C++
     ToolkitPro1113vc71D.dll!CXTPSyntaxEditView::OnInitialUpdate()  Zeile 430 + 0x16    C++
     PPCDebugger.exe!CPPCDebuggerView::OnInitialUpdate()  Zeile 113 + 0xb    C++
     mfc71d.dll!CWnd::OnWndMsg(unsigned int message=868, unsigned int wParam=0, long lParam=0, long * pResult=0x0012e7a0)  Zeile 2023    C++
     mfc71d.dll!CWnd::WindowProc(unsigned int message=868, unsigned int wParam=0, long lParam=0)  Zeile 1745 + 0x1e    C++

In Refresh there is call
m_iTopRow = GetEditCtrl().GetTopRow();
And now m_iTopRow is 400. But the new file
has only 100 Line.

  Jimmy

PS: Has also send this to support.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net