We have a some text annotations (TypeWriter or Text Box).
This code works well in the Viewer and crashed the Editor.
var newTextColor = color.black;
this.syncAnnotScan();
var annots = this.getAnnots();
for (var i in annots)
{
var annot = annots;
if (annot.type!="FreeText") continue;
var spans = new Array();
spans[0] = new Object();
spans[0].text = annot.contents;
spans[0].textColor = newTextColor;
spans[0].textSize = annot.textSize;
spans[0].textFont = annot.textFont;
annot.richContents = spans; // crashed in this row
}
JavaScript
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
- Ivan - Tracker Software
- Site Admin
- Posts: 3549
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: JavaScript
Thanks for the report. We will fix it asap.
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: JavaScript
Hi Dmitry,
I've created an internal development ticket to track this issue. For reference, the ticket number is RT-1843
Thanks for your patience!
I've created an internal development ticket to track this issue. For reference, the ticket number is RT-1843
Thanks for your patience!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
- Ivan - Tracker Software
- Site Admin
- Posts: 3549
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: JavaScript
The issue is fixed. Fix will available in the next build.
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
Re: JavaScript
Glad to hear it, Ivan.
Is there any information about next build date?
Is there any information about next build date?
- Ivan - Tracker Software
- Site Admin
- Posts: 3549
- Joined: Thu Jul 08, 2004 10:36 pm
- Location: Vancouver Island - Canada
- Contact:
Re: JavaScript
We have a schedule but it is not public for now. We will inform about the date when possible and but for sure this will be included ...
Tracker Software (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.