Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4903
    wOxxOm
    Member

    When no text is selected invoking text case conversion commands does nothing. Yet it’s very handy to convert current word to lowercase/uppercase/titile case without first selecting it. How about extending these commands to work with current word when nothing is selected?

    #4911
    Yutaka Emura
    Keymaster

    We are not adding new features any more before the version 7 release. You can write a macro doing exactly this, and assign that macro to your favorite keyboard and a toolbar button. Here is the macro:


    document.selection.SelectWord();
    document.selection.ChangeCase(eeCaseUpperCase);
    document.selection.Collapse();

    #4943
    wOxxOm
    Member

    thank you very much, I will use this:

    x=document.selection.GetActivePointX(eePosView);
    y=document.selection.GetActivePointY(eePosView);
    document.selection.SelectWord();
    document.selection.ChangeCase(eeCaseUpperCase);
    document.selection.SetActivePoint(eePosView,x,y,false);

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.