I need to work with more than 10 open documents.
UltraEdit.activeDocumentIdx never gives values higher than 10, so I have problems to jump from one file to another.
An example to identify my problem:
UltraEdit.activeDocumentIdx never gives values higher than 10, so I have problems to jump from one file to another.
An example to identify my problem:
Code: Select all
var idxDocument=0;
for (var i=0; i<12; i++)
{
UltraEdit.newFile();
idxDocument=UltraEdit.activeDocumentIdx;
UltraEdit.outputWindow.write("Open document:"+UltraEdit.document.length+" Document IDX:"+idxDocument+" "+UltraEdit.document[idxDocument].path);
}