EmEditor (text editor) Forum Index EmEditor Core Bug Reports
(document.selection.IsEmpty) Does Not Equal (document.selection.Text == "") ? | Register To Post |
| Flat | Previous Topic | Next Topic |
| Poster | Thread |
|---|---|
| LTT | Posted on: 11/14/2012 3:55 am |
Just can't stay away ![]() ![]() Joined: 10/11/2006 From: Posts: 84 |
(document.selection.IsEmpty) Does Not Equal (document.selection.Text == "") ? document.selection.SelectAll();
if( document.selection.IsEmpty ) alert( "IsEmpty" ); if( document.selection.Text == "" ) alert( "Text" ); Run this in a new (empty) window. alert( "IsEmpty" ) can not be triggered. |
| Flat | Previous Topic | Next Topic |
| Subject | Poster | Date |
|---|---|---|
| » |
LTT | 11/14/2012 3:55 am |
| |
Yutaka | 11/14/2012 9:31 am |
| |
LTT | 11/17/2012 3:39 am |
| |
Yutaka | 11/18/2012 12:16 pm |
| Register To Post | |


