* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <cstdio>
#include "config.h"
#include "Position.h"
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
#include "SelectionController.h"
#include "Selection.h"
#include <JavaScriptCore/JSStringRef.h>
#include <webkit/webkit.h>
#include <cstring>
// Returns a newly allocated UTF-8 character buffer which must be freed with g_free()
static gchar* JSStringCopyUTF8CString(JSStringRef jsString)