Comments (9)
Hi Ben !
Yeah, setting the cursor is an issue with normal tomboy notes too. Tomboy it self saves last used position and restores it. Thats on the ToDo list for tomboy-ng. But in the case of an import, that won't work so, yeah, either beginning or end ?
from tomboy-ng.
Ok cool! I couldn't figure out where the loading cursor function was setting the load state, is there something as simple as setting it to focus on the first line? If so, would you mind showing where in the code?
from tomboy-ng.
Right now, we are not setting the cursor position at all. It just happens to end up at end of file at load.
It should be done, I believe, using one of two methods -
- something like this - KMemo1.ExecuteCommand(ecCopy); assuming there is a command to move the cursor to to a specific position (instead of ecCopy which is obviously for copying).
- Setting the selection begin and end to position 1 or is that 0 ? KMemo.SelStart :=
Davo
from tomboy-ng.
Solution: #54
from tomboy-ng.
After a bit of use, this seems wrong. It fires on all notes and is annoying for new notes (cursor before the title itself). Will check again
from tomboy-ng.
OK, fixed with patch from Ben, all good.
from tomboy-ng.
A regression? I am seeing this regularly in 0.27 Gtk, annoying because I have a series of journal-style notes in reverse chronological order.
from tomboy-ng.
Hmm, Ben's original report related to Single Note Mode, is that where you see this problem ?
The cursor should end up on the first non-title line. Mine does, in both Single Note Mode and normal mode. What happens is that content is loaded into kmemo and that leaves the cursor at the end. After loading, I move it to top of document.
I actual fact, the Tomboy format has a field that stores the last position of the cursor and it should be restored to your last typed position on load. One day ...
When you say "seeing this regularly", do you mean always, sometimes, occasionally ?
Davo
from tomboy-ng.
Bah, did not read the original post carefully, just wanted to avoid duplicating a problem. I see this in regular mode always. This happened in a prior release in regular mode as well, but I do not recall which. It was a while back. I just double checked with 0.27 and a couple of notes in my Mageia 7 machine.
from tomboy-ng.
Related Issues (20)
- White selection on dark themes when unfocussed HOT 44
- 0.36a1-1: search interface completely broken HOT 12
- Tomboy-ng icon not displaying in Taskbar Windows 10 HOT 2
- Sync error : "(line 1 pos 1) Root element is missing" HOT 8
- synchronization: add support for automated synchronization with frequency HOT 40
- Export to PDF produces blank file HOT 2
- Button layout management wrong HOT 23
- Feature Request: Markdown Preview HOT 13
- does it work OK on CrunchBang Linux? HOT 2
- Yellow highlight in pasted text. HOT 11
- Use Semantic Versioning in your releases and downloadables HOT 5
- Import from original Tomboy HOT 2
- Debian testing: Version 0.36a-2 Wrong layout HOT 2
- BullXXXXet ?? HOT 1
- Line feed (shift-enter) does not work. HOT 5
- RPM Binary missing HOT 10
- Undo does not work with [ENTER] HOT 2
- Special characters in headline confuse the program HOT 6
- Replace License HOT 1
- Links to folders and files HOT 9
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 tomboy-ng.