Jump to content

Text Editor


Recommended Posts

For v2.2 we are upgrading the text editing facilities, although we had not planned on allowing multiple fonts within the same "string" of text. But now that you mention it, it could probably be quite useful, and could be a cool challenge to implement. I'll look into it when I start work in that area, but no promises of course.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Sort of, but not really. Right now things are basically partitioned in to "definitely for v2.2", "maybe for v2.2", and "after v2.2". We have an idea of what we want to do after v2.2, but nothing's really set in stone or official or anything.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • 3 weeks later...

Heck, I personally find it a major pain that I can't reposition my text after I've clicked the mouse. That is the bare minimum we're implementing for v2.2, and we'll do as much else as we can depending on how much time we have.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

  • 2 weeks later...

Gabe, that's something I've considered. I'd love to be able to plug in Windows' built in rich text editor but I just haven't had time to investigate whether this is feasible yet. There's also the fact that Paint.NET, since v2.1, has had a strict separation between platform-dependent and platform-independent code; our "SystemLayer" DLL is designed to be simple so that we can reimplement it for other platforms as necessary (it is also where all of our "bug/hack workarounds" are located). Using a Windows control in this manner would be platform dependent and not simple, so I'm not sure it would be something we'd want to do in that light.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

In general I try to keep any Win32 specific stuff tucked away in SystemLayer. Call it an ideological attempt to have a portable app (not just to other Windows releases), but it's honestly kept the code cleaner to have it this way. I don't have any personal plans to port this to any other platform, but maybe somebody else can have a crack at it.

The problem with using the Win32 control for this would be that when things go wrong, it's much much harder to figure out why and to fix them. And there are differences in the way things work on various versions of Windows. I'm sure XP has bug fixes and changes over 2000's implementation, and no doubt Vista will have a bunch of things that are different too. By implementing it myself I get complete control (and accountability) over the feature.

Plus it's probably more fun to rewrite it. It's always cool to learn how things work by rewriting them yourself; it's a good challenge. But we'll just see how much time there is before the end of October (code complete).

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...