Comments (3)
I think it's a problem with the selection/cursor if the selection is disabled everything work fine on both sides:
var minMaxSelection = GhostText.getMinMaxSelection(response.selections);
//textAreaDom.selectionStart = minMaxSelection.start;
//textAreaDom.selectionEnd = minMaxSelection.end;
Maybe the live selection has just to be disabled since it is causing more trouble without any benefit?
from ghosttext-for-chrome.
You're right about the lack of benefits (except that it's cool). It's strange that the behavior is only there until you type something in ST, then it works normally.
from ghosttext-for-chrome.
I made a quick fix, when sublime text now receives a text change the cursor will be set to the end of the text in ST self.view.sel().add(sublime.Region(text_length, text_length))
this fixes this strange behavior since sublime text seems to select the whole text when the views contents gets replacedโฆ
Now it's working and we have still this coll live selection effect ๐ .
from ghosttext-for-chrome.
Related Issues (20)
- Time to celebrate HOT 2
- Support fields within frames (Disqus) HOT 13
- Keyboard hotkey for Linux collides with "Show bookmarks bar" HOT 3
- โ + K key binding in Chrome Extension is already used HOT 3
- Make input-area.js Firefox compatible
- Support of g_editable elements HOT 1
- Highlight keeps on connection error HOT 5
- Fails after switching to Sublime Text (OSX 10.9.4, Sublime Text 3) HOT 5
- Events, mono-repo discussion HOT 12
- On pressing ctrl+shift+h, 4-5 sublime windows pop up and the text-to-chrome doesn't work HOT 4
- GhostText can't handle multiple file tabs in Codecademy HOT 2
- No longer working in Chrome HOT 2
- Ghost is opening 2 to 7 tabs when clicking in HOT 5
- Ghosttext fills the Chrome developer console with "Array[2]" #52
- Ghost Text Says that it is running and to switch to console, but no code opens
- blank render HOT 3
- Doesn't seem to work with the latest Chrome HOT 4
- ISSUES MOVED, open them in the main repo:
- How do I activate Ghosttext?
- Multi-caret editing. Sublime text 3 + Chrome HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghosttext-for-chrome.