View Poll Results: It's working correctly?

Voters
7. You may not vote on this poll
  • Yes

    6 85.71%
  • No

    1 14.29%
Results 1 to 8 of 8

Thread: QTextEdit with hunspell spell checker and syntax highlighter

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2010
    Posts
    3
    Qt products
    Platforms
    Windows

    Lightbulb QTextEdit with hunspell spell checker and syntax highlighter

    Hi!

    I created a QTextEdit with hunspell spell checker and syntax highlighter and it allows the use of the hunspell dictionaries.
    I think the project is working correctly (you can test it in the attachments, just add your language dictionary) but I read some posts about the QTextBoundaryFinder class not working correctly and I use this on my project.
    Can anyone test my project and help me find if this is true.
    Thanks in advance.

    hunspellTest.zip

  2. #2
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QTextEdit with hunspell spell checker and syntax highlighter

    I may have missed something, but is there any particular reason that you haven't considered using QScintilla?

  3. #3
    Join Date
    Jan 2010
    Posts
    3
    Qt products
    Platforms
    Windows

    Default Re: QTextEdit with hunspell spell checker and syntax highlighter

    I didn't know about QScintilla but it seems that QScintilla is focused on code editing and my approach is for writing a text document.
    Last edited by edogen; 28th January 2011 at 17:25.

  4. #4
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QTextEdit with hunspell spell checker and syntax highlighter

    With regards to your text documents, do you need formatting ala Microsoft Word / OpenOffice? If so, then indeed I wouldn't expect QScintilla to be suitable for your needs.

Similar Threads

  1. Replies: 4
    Last Post: 11th May 2010, 18:33
  2. Is there any spell checking in QTextEdit?
    By naoyamakino in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2009, 20:57
  3. Syntax Highlighter sample is wrong
    By kib2 in forum Qt Programming
    Replies: 2
    Last Post: 8th November 2007, 22:24
  4. QTextEdit with syntax highlighter
    By sarode in forum Qt Programming
    Replies: 2
    Last Post: 23rd October 2006, 08:20
  5. How disable auto spell checking
    By oashton in forum KDE Forum
    Replies: 1
    Last Post: 31st January 2006, 11:51

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.