Tokenizer?

4 posts, 0 answers
  1. aedev
    aedev avatar
    7 posts
    Member since:
    Jul 2009

    Posted 02 Jan 2011 Link to this post

    I'm just getting started and trying working off of the examples.  Where is the Tokenizer class?  

    The following lines in CreateFormattedDocument (in the example.xaml.cs for the Document API example), is what I'm trying to build: 

                Tokenizer tokenizer = new Tokenizer();
                List<Token> tokens = tokenizer.TokenizeCode(text, fileFormat);
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 03 Jan 2011 Link to this post

    Hi Holden Caine,

     The Tokenizer class is an internal class, included in the demos, which are downloaded if you install the controls (either automatically or manually). If you had downloaded a hotfix version (DLLs only), you can get the examples following these steps:

    1. Log in to your account at telerik.com;
    2. Click on "Download and Manage Your Products";
    3. In the "Telerik Premium Collection for .NET" section click on "Product Downloads";
    4. In the RadControls for Silverlight section opt for "Browse all product files", and you can see that demo projects are included in the Manual Installation zip;
    5. There are several Tokenizer classes in the solution, but the one you need is in the RichTextBox example.
    If you have any other questions, do not hesitate to contact us again.

    Greetings,
    Iva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
  4. Olivier Masset
    Olivier Masset avatar
    3 posts
    Member since:
    Oct 2009

    Posted 05 Sep 2012 Link to this post

    Hello,

    I cannot reach the code of the Tokenizer. Could you please send me a direct link to the file I have to download to have the code of the Tokenizer.
    Thank you in advance,
    Olivier

    Olivier.masset@belsim.com
  5. Petya
    Admin
    Petya avatar
    975 posts

    Posted 05 Sep 2012 Link to this post

    Hi Olivier,

    As Iva mentioned, in case you have a hotfix version of the controls, you'd have to download a zip, containing the demos. This is a link directly to your profile, where you can find the files. 

    Once you've downloaded and extracted the archive, you can find the Tokenizer class here:
    ...\Examples\RichTextBox\Parsers\Tokenizer.cs

    In case you have included the examples when installing the controls, the tokenizer should be at:
    C:\Program Files (x86)\Telerik\RadControls for Silverlight Q2 2012\Examples\RichTextBox\Parsers\Tokenizer.cs 

     I hope this answers your question! Get back to us if you need further assistance.


    Kind regards,
    Petya
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top