Bookmark color solves #685#1317
Conversation
|
Testing the patch. After creating a new bookmark folder, and having given it a color, there is no way to get rid of its color. The |
|
Also, remove cmake/source_version.txt from the patch. |
|
Okay, I'll take a look at that tomorrow. Good job figuring that out! I hadn't even thought of that. |
|
I finally did it. It works for me. I also took the opportunity to merge the two commits so it would be clean. |
|
As for the other commits that gave you trouble, namely, highlighting verses based on the color assigned to the bookmark and the issue of using a dropdown menu instead of a toggle for the verse field, I have a suggestion. Why not suggest a checkbox "highlight the verses" and "display the references in a drop-down menu"? Where would be the best place to discuss this? Or, if you agree with the highlighted text, I can try to figure out what the problem is, but it would be easier with a file that looks like yours. |
|
Turning off color seems to work now. I'm looking through the code very slowly and carefully. A number of things are a source of concern.
A core software principle of mine is "small footprints": The smallest amount of change to achieve the intended result. Changes of this sort -- just whitespace -- create far larger diffs for no reason, losing the visibility of the actual functional change, making code review hard and less reliable. Somebody else has to read this code (at the moment, me), and making others' eyes get lost in useless change is not helpful. Did the actual, functional, running code in these lines change, or is it just re-indentation with no effect on operation? Is there perhaps a single function argument that changed somewhere in the middle of 3 dozen lines of otherwise-unmodified-but-differently-indented code? How likely is it that someone else will miss such a change?
Of course, now that I look more carefully, I find that there are several I'm still working through these diffs. It's going to take some time in the current state of things. |
|
Claude helped me to fix the issues you pointed out. The spaces have been replaced with tabs, and the function that had been deleted (I don't know why) has been restored because it's used elsewhere. |
As suggested, I've separated the various changes from the previous PR, which included folder colors, highlighting, and the context menu for crossreferences. Here you'll find only:
However, I'm sorry about those two commits—I made a mistake without realizing it.
I tested the Windows binary, and it works.