Comments (6)
Ah, this is not isolated to "highlight", bold and italics do it too.
All done in the same function. And a complicated function it is. Sigh .....
from tomboy-ng.
OK, fixed. When we change a selection of text, it has to be done block by block. But we now base the whole change on the first character of selection, not first char of each block !
from tomboy-ng.
Good it is fixed now. As I am picky, i tried the following:
- add some words to a line
- mark one word and click highlight, the word gets highlighted
- mark this word or a part of it together with unhighlighted text and click highlight - the whole marked area should get highlighted. instead it gets UNhighlighted.
Side note: Can we change the color of marked highlighted text? Currently I need to unmark text to check if it is highlighted.
TKGridAttrTextCell(KGrid1.Cell[MyColumn, MyRow]).Brush.Style := MyColor;
(source)
from tomboy-ng.
The test to determine whether we highlight or un-highlight is what the first character of the selection is. Thats the standard way and only way that makes sense IMHO. So, when you say "together with unhighlighted text", whats important is where that (new to the selection) unhighlighted text is. If its in front of the part you just highlighted, then the first character will be unhighlighted and the action is to highlight the new selection. On the other hand, if the addition to selection is after the part you previously highlighted, the the first character will be already highlighted and the action will be to unhighlight it all.
If this is not whats happening, its a bug, please detail just what you are doing to demonstrate it.
from tomboy-ng.
re your sidenote about color of text. The 'highlight' text color is set in settings.pas, line number 151. Hover your mouse over clRed and you can open the unit where the predefined colours are defined. If necessary, we could make it a user settings.
from tomboy-ng.
i agree, Tomboy NG does the same.
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.