View unanswered posts | View active topics



Reply to topic  [ 2 posts ] 
ProjectManager,about function TreeSyncToCurrentFile 
Author Message
Member

Joined: Tue Jan 17, 2012 5:28 am
Posts: 16
Reply with quote
ProjectManager/PluginMain.cs
line:1287
the function TreeSyncToCurrentFile:

private void TreeSyncToCurrentFile()
{
ITabbedDocument doc = PluginBase.MainForm.CurrentDocument;
if (doc != null && doc.IsEditable && !doc.IsUntitled)
{
Tree.Select(doc.FileName);
Tree.SelectedNode.EnsureVisible();//Add this line to ensure the SelectNode allways show
}
}

without the line of code,the synchronnize button will not show the select Node after the first click and scroll the tree to hide the select node.
:D
thank you~


Tue Dec 18, 2012 5:47 am
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
Thanks :)

Fixed in SVN.


Wed Dec 19, 2012 10:02 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.