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
Hello,

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";
this._selDiv1.style.background = color;
this._selDiv2.style.background = color;
this._selDiv3.style.background = 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?
https://creditcardsupportx.com
https://creditcardsupportx.com/barnes-and-noble-barclay-mastercard
https://creditcardsupportx.com/pep-boys-credit-card
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.

thanks
jackyjoy

[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: Tue May 07 02:55:12 GMT 2024

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

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

Back to the top