Hi,<br><br>I triggered a bug in rbuic4.<br>This ui file generate a bad ruby file using rbuic4. The bug is triggered by adding a long default text in a text edit widget.<br><br>Here is the traceback given when triing to require the file bug.ui.rb :<br>

<br>/home/mak2k/plasma/branch/html-plasmoids/htmlembed/contents/code/main.rb:11:in `require': /tmp/bug.ui.rb:42: syntax error, unexpected tSTRING_BEG, expecting ')'<br>        "argin-left:0px; margin-right:0...<br>

         ^<br>/tmp/bug.ui.rb:226: syntax error, unexpected ',', expecting kEND<br>...nt:0px;\"></p></body></html>", nil, Qt::Application::Unicode...<br>                              ^<br>

/tmp/bug.ui.rb:226: Can't assign to nil<br>...x;\"></p></body></html>", nil, Qt::Application::UnicodeUTF8)<br>                              ^<br>/tmp/bug.ui.rb:226: dynamic constant assignment<br>

/tmp/bug.ui.rb:226: syntax error, unexpected ')', expecting '='<br>/tmp/bug.ui.rb:239: syntax error, unexpected $end, expecting kEND (SyntaxError)<br>        /home/mak2k/plasma/branch/html-plasmoids/htmlembed/contents/code/main.rb:11<br>

        /home/mak2k/plasma/branch/html-plasmoids/htmlembed/contents/code/main.rb:9:in `each'<br>        /home/mak2k/plasma/branch/html-plasmoids/htmlembed/contents/code/main.rb:9<br>        /usr/share/kde4/apps/plasma_scriptengine_ruby/applet.rb:191:in `load'<br>

        /usr/share/kde4/apps/plasma_scriptengine_ruby/applet.rb:191:in `init'<br><br>Thanks<br><br>Cedric<br>