Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Orion (Archived) » Invisible selected text for not focused editor?..
Invisible selected text for not focused editor?.. [message #1834959] Sun, 22 November 2020 13:08
jacky joy is currently offline jacky joyFriend
Messages: 2
Registered: October 2020
Junior Member

In Firefox browser, selected text is transparent when the editor does not have focus.

This is due to this code in textview.js
Code: [Select all] [Show/ hide]
if (isFirefox || isIE) {
if (this._selDiv1) {
var color = "transparent"; = color; = color; = color;
if (window.getSelection) {
var sel = window.getSelection();
if (sel.rangeCount > 0) { sel.removeAllRanges(); }

This can cause problems. For instance lets say there is a search window available. When user is directed to this window, selected text would be invisible as the editor doesn't have focus!,...
Is there any work around for this?
P.S: I know that in Scratchpad even when the editor doesn't have focus selected text is visible. I couldn't figure out how they did this. Though, the Orion structure on Scratchpad is kind of different from original one (there is one extra FRAME element.


[Updated on: Sun, 20 December 2020 15:13]

Report message to a moderator

Previous Topic:Installing Eclipse Orion behind Apache Web Server with SSL
Next Topic:Using define in Orion editor plugin
Goto Forum:

Current Time: Mon Jul 22 23:22:37 GMT 2024

Powered by FUDForum. Page generated in 0.05125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top