And at least the paste issue is a newly created one, OOo 2.1 didn't have it.Įdit: Just for clarification: Villeroy's answer can be misinterpreted as saying that there's a limit of 65536 chars per Basic module. So I think the behaviour I described must still be seen as real and ugly bugs, not as limits. Copy and paste do work properly in writer, as far as I can see, and without any special limit. Well, I don't see any circumstances, where a limit of 65536 chars for a paragraph in writer would be much of a problem.īut these are different things. 65536 chars per paragraph in Writer and 65536, per Basic module and per Calc cell. Please tell me: Are these known problems? Should I file bug reports? Are they still there in the 3.0 beta?
#Totally invisible character copy paste code#
Furthermore there's no direct way to notice when you come near to the maximum length of code for pasting. So splitting makes things much harder to manage. And it is only one of more than 60 modules in the whole project.
But it is one logical unit and represents only one function of the add-in. Of course I can split the module in smaller parts. I simply can't do serious work without copy and paste. When I can't rely on proper functioning, it's like I can't rely on breathing without thinking. Copy and paste belong to the most basic functionality of any text processing environment on a computer. In my view, both the paste and copy issues are very serious bugs.
#Totally invisible character copy paste windows#
This problem was reproducible on OOo 2.1, and 2.4.1, where I tested it – both on Windows XP machines. When I select all the text in the module (CTRL+A), copy and paste it to a Writer or a Word document, or any other editor, only the first 65535 characters (paragraph breaks included) of the selection will be copied. All on different machines with Windows XP. This problem was not reproducible on a machine with OOo 2.1, only with versions 2.4 and 2.4.1. (The above message text is my translation of the German message, so it may be different in an English localization.) I can type in additional code and I can move or multiply parts of code by drag and drop, but not paste a single character into the module. It turns out that I can't paste anything anymore into a module that contains more than 65535 characters (paragraph breaks included). A messagebox appeared saying: „The inserted text is longer than the maximum length allowed for this textfield. Then I attempted to paste some lines of standard disclaimer into the module. Most of it is very basic Basic (math, string and array operations) on a level, where there are no or only small differences between VBA and OOo Basic. I imported a moderately large VBA module (about 1800 lines of code) into a new OOo Basic module to convert the code step by step.