Forum Replies Created

Viewing 11 posts - 31 through 41 (of 41 total)
  • Author
    Posts
  • in reply to: [SOLVED] No focus when opening files ? #7658

    Salabim
    Participant

    Hi Yutaka,

    OS : Windows XP SP3
    EmEditor version : 8.06

    in reply to: RegExp OR function misbehaviour ? #7637

    Salabim
    Participant

    It works PERFECTLY thr !

    Thank you so much !!!! :-)

    in reply to: RegExp OR function misbehaviour ? #7634

    Salabim
    Participant

    Sorry if this all sounds so difficult, the biggest problem is my little knowledge of English to explain the problem
    properly, and of course I’m far from a pro into brewing regular expressions.

    Perhaps, I can give some kind of English example that gives an
    idea of what I mean.

    So, In English, correcting the following line(s) properly.
    Is that possible to properly correct with 1 single line of regexp ?

    English example :
    I wantto lookto the car, while doing a salto justto celebrate how great is it.

    with the example above, you cannot simple say : Look for any word that ends with to and put
    a space inbetween it, because then the word salto would improperly been turn apart. And of course,
    checking that the words to search for, are indeed surrounded by a space or a comma, or a newline, is not possible too,
    because in the English example I gave the space after wantto is being captured, so the regexp doesn’t correct
    the lookto right after it, because there it doesn’t see the preceding space
    because it is handled by the match before it.

    So, what can I do, I guess I can only write all my regexp’s double, or is there any
    special switch to make it work correctly with 1 line of regexp ?

    EDIT: before you say look to is not correct and has to be look at, I know ! :-D it’s
    only just to give an example.

    in reply to: RegExp OR function misbehaviour ? #7633

    Salabim
    Participant

    EDIT:

    Second line error’ed out, missing ).
    Even when corrected, doesn’t do anything.

    First line did it completely wrong also, even when I corrected thr’s suggestions to have double backslashes, and correct ().

    It’s not the aspect of simplifying things for example to match a whole word followed by [je], I need to use the words in my top post matched, since those MAY NEVER be followed by [je], only when there’s a space in between.
    Other words can be followed directly by je, since I’m correcting Dutch texts, and there je at the end of a word means “little” in English.

    So, these words translated from Dutch to English.
    Pak = Box
    Pakje = Little box
    Kind = Child
    Kindje = Little child
    Hond = Dog
    Hondje = Little dog
    … but
    Denk = Think
    Wil = Want
    Dacht = Thought
    …. so above cannot be followed by [je] since that is not correct, there doesn’t exist any little think, or little want, or little thought.

    Please, can anyone help me out ? :-(

    P.S. Sorry for my bad English.

    in reply to: RegExp OR function misbehaviour ? #7631

    Salabim
    Participant

    Thank you very much for the detailed explanation thr !
    I owe you one ! :-)

    in reply to: RegExp OR function misbehaviour ? #7629

    Salabim
    Participant

    Aaaaagh! Exactly, shame on me that I didn’t think about that.
    After all, I’m a real newbie regarding regexp’s,
    Only problem, I use bot the first (newline OR space) and the last (newline OR space) in the replacement as 1 and 3 , that means the ?= will NOT assign the following newline or space to 3 ?

    so with the replacement line of 12 je3 3 will be empty even if there IS a space or newline after “je”, am I right ?

    Thanks for the help!

    in reply to: RegExp OR function misbehaviour ? #7625

    Salabim
    Participant

    Hello Yutaka,

    I’m trying to make it as easy as possible, I just want to check for any of these combo’s and put a space between them and je, only if these are surrounded by a space or are at the beginning or end of a line.

    So…. I don’t think I can make it simpler than that. :-D

    document.selection.Replace("(rn| )(denk|wil|dacht|kan|wilde|ben|zie)je(rn| )","12 je3",eeFindNext | eeReplaceAll | eeFindReplaceRegExp);
    in reply to: RegExp OR function misbehaviour ? #7623

    Salabim
    Participant

    Really nobody ?

    in reply to: Restore workspace not working ? #7607

    Salabim
    Participant

    Hi Yutaka,

    Yes, I’m still using v8, is it safe to use v9 now already ?

    Thanks.


    Salabim
    Participant

    +1

    EDIT: [SOLVED] AspellChecker013 installed, and working fine.? :-)


    Salabim
    Participant

    Yeah, why can’t we get something like the Aspell spellchecker as Notepad++ uses it ? :-(

    EDIT: [SOLVED]

Viewing 11 posts - 31 through 41 (of 41 total)