1. #1
    Ext User
    Join Date
    Sep 2008
    Posts
    19
    Vote Rating
    0
    victor.martinez is on a distinguished road

      0  

    Default Custom TextArea with real-time syntax highlighting

    Custom TextArea with real-time syntax highlighting


    Hello,

    I need to custom a textArea component as real-time syntax highlighting. Having a look in internet i found some projects about textArea syntax highlighting , i'm particular interested in codeMirror JavaScript program:
    http://marijn.haverbeke.nl/codemirror/

    In order to use this javascript program, you only need to link a js file and css in your html page that holds the textArea, like this...

    Code:
    <script type="text/javascript">
      var editor = CodeMirror.fromTextArea('code', {
        height: "350px",
        parserfile: "parsexml.js",
        stylesheet: "css/xmlcolors.css",
        path: "js/",
        continuousScanning: 500
      });
    </script>
    Conclusion, How can I create some custom a textArea ext-gwt component, that include
    all this features ? Is posible ?

    Thanks
    V

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    2
    gslender is on a distinguished road

      0  

    Default


    it is possible, its just not easy in GWT unless you know what you are doing...

    have a look at this... http://extjs.com/forum/showthread.php?t=44152

  3. #3
    Ext User
    Join Date
    Sep 2008
    Posts
    19
    Vote Rating
    0
    victor.martinez is on a distinguished road

      0  

    Default


    Thanks, seems interesting as rich editor integration, but i'm looking for syntax highlighting edit more simple, just focus on program lenguage as java, c++, xml highlighting .. ... how about codepress integration ?? I found some project http://extjs.com/learn/Extension:CodePress do you thing is posible to integrate with ext gwt text area component ? Could be really cool..
    V

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar