
Dear Sorin, Thank you for your answer. However, since Chinese and Japanese is usually written without space, it would be even better if you could either allow the triggering anywhere, or if that is not possible, than at least on all CJK characters. I am looking forward to seeing this implemented. All the best, Christian Sorin Ristache wrote:
Hello,
We will try to implement the detection of East Asian separator characters (whitespace and interpunction characters) for triggering code templates in the next version of Oxygen, that is in the next two or three months.
Regards, Sorin
Christian Wittern wrote:
Dear Sorin,
below is a message you wrote on 2008-06-06. I was hoping that this would make it into the new version of Oxygen, but I just checked to see that it seems to be not yet available. Could you give me an estimate to when this will be available? This problem is a bit annoying to my users, since in East Asian text, not even East Asian interpunction characters, including the fullwidth space character (U+3000) allow the triggering of code completion, so sometimes it is not clear to them, why it does not work.
All the best,
Christian
Sorin Ristache wrote:
I am sorry, the code completion is not displayed regardless of the preceding characters. You need to have a space character and a prefix of the name of the code template already inserted in the document or at least a space character at the position of the cursor. We already have an issue logged in our system for displaying the code completion popup containing only code templates if there are no XML element names appropriate for the current context. We will implement it in a future version of Oxygen.
Regards, Sorin
Sorin Ristache wrote:
Hello,
Do you mean you define a code template in Options -> Preferences -> Editor -> Templates -> Code Templates which you want to insert in the document using the code completion popup window? Just press Ctrl + Space to kick off the code completion popup on demand regardless of the character that precedes the insertion point.
Regards, Sorin
Christian Wittern wrote:
Hi there,
We are using oXygen mainly to edit Chinese or Japanese text. In this case, words are not separated by whitespace. For a project we are having here, I am setting up snippets that should be inserted using code completion. However, Code Completion fires only after a whitespace character, so we have to input a spurious whitespace character to kick this off, which then has to be deleted again at some point. Hence my feature request: When doing a Code Completion, look at the character before the insertion point and fire if either there is a whitespace, or a character in the Unicode ranges for East Asian characters. This should be fairly easy to implement and have no negative impact on the current functionality.
All the best,
Christian
oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Christian Wittern Institute for Research in Humanities, Kyoto University 47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN