![]() |
CXTPSyntaxEditView Load File |
Post Reply ![]() |
Author | |
thodgson ![]() Groupie ![]() Joined: 11 August 2003 Status: Offline Points: 78 |
![]() ![]() ![]() ![]() ![]() Posted: 18 January 2007 at 10:30am |
Is there a way to load a file into a CXTPSyntaxEditView class without using a CXTPSyntaxEditDoc class attached to it?
I see in the help the class CXTPSyntaxEditBufferManager which appears to be what I'm looking for but there are no examples of its use or how it is supposed to work.
Thanks,
|
|
Tim H(http://www.ExclamationSoft.com)
Product: Xtreme Toolkit v13.1 Platform: Vista(x64)-SP1 Language: Visual C++ 6.0 Currently: Satisfied w/ Toolkit |
|
![]() |
|
thodgson ![]() Groupie ![]() Joined: 11 August 2003 Status: Offline Points: 78 |
![]() ![]() ![]() ![]() ![]() |
Never mind.
I figured it out.
CXTPSyntaxEditBufferManager *pXTPSyntaxEditBufferManager = this->GetEditBuffer();
pXTPSyntaxEditBufferManager->InsertText("Test", 1, 1);
My mistake was that I was doing a InsertText on row 0, column 0.
|
|
Tim H(http://www.ExclamationSoft.com)
Product: Xtreme Toolkit v13.1 Platform: Vista(x64)-SP1 Language: Visual C++ 6.0 Currently: Satisfied w/ Toolkit |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |