Jump to content

Search text in UniHTMLMemo


artem_niko

Recommended Posts

  • Administrators
2 hours ago, andyhill said:

I have asked many times to either increase my UpLoad Quota -or- Remove ALL previous uploads.

I cannot upload the TestCase (36k) ?

We have increased quota's several times. I'm not sure if there is an option in forum software to selectively remove user posts.

Let me check!

Link to comment
Share on other sites

2 hours ago, andyhill said:

Project1.zip 34.81 kB · 0 downloads

procedure TMainForm.UniButton1Click(Sender: TObject);
begin
  UniHTMLFrame1.JSInterface.JSCode('$("#'+ UniHTMLFrame1.JSId +'-innerCt").unmark'+
                                   '  ({ '+
                                   '    done: function() {'+
                                   '                      $("#'+ UniHTMLFrame1.JSId +'-innerCt").mark("printer", {caseSensitive: true});'+
                                   '                     }'+
                                   '  });');
end;

 

Link to comment
Share on other sites

2 hours ago, andyhill said:

If it is not to much to ask, what about multiple phrases ?

procedure TMainForm.UniButton1Click(Sender: TObject);
begin
  UniHTMLFrame1.JSInterface.JSCode('$("#'+ UniHTMLFrame1.JSId +'-innerCt").unmark'+
                                   '  ({ '+
                                   '    done: function() {'+
                                   '                      $("#'+ UniHTMLFrame1.JSId +'-innerCt").mark("printer", {caseSensitive: true});'+
                                   '                      $("#'+ UniHTMLFrame1.JSId +'-innerCt").mark("printing and typesetting", {caseSensitive: true, separateWordSearch: false});'+
                                   '                     }'+
                                   '  });');
end;

Also pay attention to this option: separateWordSearch

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...