tedit development and design discussion
-
@danfro I think I found the problem you faced. I put a checkbox in the button row to toggle read-only mode, and when read-only mode is enabled, the TextArea isn't transparent so it is always white regardless of the selected theme (dark/ambiance). This may be a Lomiri Toolkit bug, inherited from the QuickControls' TextArea as that never changes the background color.
As an alternative, Text inside a Flickable can also work, but it doesn't allow selecting text, so you can leave it as-is.
-
@domubpkm This is more for the "human eye". The file will be simple text regardless of the extension. But I think this is safer also when sharing to other apps since they can use the extension.
But I agree, I should simply add the extension without bothering the user with this checkbox.
-
@ikoz ah, background color. That could be too. With flickable I think, I couldn't get flicking flickable and scrolling in the TextArea get working since both use the touch events. Yeah, not that easy. Its not that I didn't try.

-
@danfro said in tedit development and design discussion:
No, the link would only be clickable if you would wrap it in proper html tags. See here: https://www.w3schools.com/html/html_links.asp
Ok, i tested and it works as you say.
-
@danfro Hello. Little discovery.
If files are located in a share tedit.danfro folder, they are not discoverable. by the tedit app. Only direct files from tedit danfro are discoverable.

For example the two items aren't in the list of files when opening tedit. -
@domubpkm I understand it this way, that subfolders are not readable. I did add this functionality and also allow saving including subfolders right now. You can try a build from the lastest pipeline: https://gitlab.com/Danfro/tedit/-/jobs/14208121476/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.6.1_arm64.click
It would be great if you could give that a good test. I am not sure if I found all places where the file name needs to be adjusted to allow subfolders.
-
@danfro Thanks ! A very quick test allowed me to see that the files are located in a first sub-folder, but that it would be necessary to highlight the sub-folders and allow scrolling of the line of the location of a file because a long line may appear cut. I will test better later.
-
@domubpkm Please try the latest build: https://gitlab.com/Danfro/tedit/-/jobs/14223553449/artifacts/file/build/aarch64-linux-gnu/app/tedit.danfro_3.6.1_arm64.click
Not nice, but as a quick solution, I add a linebreak after the last slash. So subfolders are now shown on a separate line, the file name on another line. This allows to display longer names/more than one subfolder.
But I do admit, this is not a fully perfect solution yet. So better not overuse it.If you wish to filter for all files in subfolders, you can put the "/" in the search box.
-
@danfro Already the files in the top level subfolders are seen and that's good. Afterwards it's a cosmetic story that isn't necessarily obvious.
-
@danfro Saving a NEW file no longer seems to work!

But edit a file seems ok.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login