Forum Replies Created

Viewing 25 posts - 26 through 50 (of 108 total)
  • Author
    Posts
  • in reply to: Right Text Alignment #20106
    Meir
    Participant

    i guess you got an answer. Not one which you and me would like, but an answer nevertheless!
    Yutaka dear, would you reconsider?

    Meir
    Participant

    Dear Yutaka,

    Thanks!

    Please note though that the “Help” states that the Default Menu is located at File > Workspace > Open Workspace but that unfortunately is not true. All workspace commands are only available from the Tray icon menu. My version is the 64-bit one.

    When I declared a new project in an existing “Solution”, it got the default “Untitled project” name. However, I couldn’t rename it. The “Rename \t CTRL-F2” context menu item was grayed-out.

    Also, when one workspace is open and you open a new one, the old Projects left pane still depicted the previous project. Would it be too difficult to include the “Projects” plug-in state in the workspace?

    Wish list:
    * Having a new workspace command to open a blank – no solution/projects – workspace
    * Be able to have multiple workspaces open concurrently, each in a different window

    in reply to: SelectWord() doesn't seem to work #19829
    Meir
    Participant

    Thank you Stefan!

    OK, now my first ever JavaScript macro is complete (bug reports are welcomed) :

    
    /*
      This eeJavaScript macro will toggle a selected string through the
      sequence of lower case -> capitalize -> uppercase -> lower case again.
      If no string is selected, the word where the cursor is will.
      The starting state is a function of the "first" and "next" characters.
      * If both characters are upper, the string will be converted be lower.
      * If only the first character is upper, the string will be converted
        to upper.
      * If neither the first character nor the next are upper case, the
        string will be capitalyzed.
      A single character will toggle just between lower and upper case.
    */
    s = document.selection.Text;
    if( document.selection.IsEmpty ){
       document.selection.SelectWord();
       s = document.selection.Text;
        }
    f = s.charCodeAt(0);
    n = s.charCodeAt(1);
    
    if( (f >= 0x41 && f <= 0x5a && s.length == 1)
                     ||
        (f >= 0x41 && f <= 0x5a && n >= 0x41 && n <= 0x5a)){
        document.selection.ChangeCase(eeCaseLowerCase);
        }
    else if( f >= 0x41 && f <= 0x5a ){
        document.selection.ChangeCase(eeCaseUpperCase);
        }
    else {
        document.selection.ChangeCase(eeCaseCapitalize);
        }
    
    

    Regards,
    Meir

    in reply to: SelectWord() doesn't seem to work #19826
    Meir
    Participant

    Sorry, got it!
    One has to also load the selection into a variable, so I added s = document.selection.Text; after extending the selection range.
    (Now I have to figure out how to extend the toggle to also capitalize…)
    So, what is the ‘Capitalize’ equivalent to s.toLowerCase?
    And alternatively, how can document.selection.ChangeCase(eeCaseCapitalize); be used?
    Regards
    Meir

    in reply to: Option to lock first line when using CSV / TSV / DSV mode #18684
    Meir
    Participant

    Dear, dear Yutaka!

    1) Case closed, as far as I am concerned!

    2) Which brings to me an old issue: “Tip-of-the-day”. Please make a bank of tips to be presented as part of the opening splash screen. The tip selected might be random but in a perfect world it might be based on the user’s profile and forum participation. It might require a more expanded profile (Languages used, features liked, etc.) It might also require attaching tags to forum posts.

    For your consideration…

    in reply to: Option to lock first line when using CSV / TSV / DSV mode #18663
    Meir
    Participant

    EDIT:

    How about checking the first lines and only locking the first line that is actually CSV/TSV/DSV?

    In my case these extra header lines are not CSV/TSV/DSV.

    Regards
    Meir

    in reply to: Option to lock first line when using CSV / TSV / DSV mode #18659
    Meir
    Participant

    Dear Yutaka,

    Please see my comment above. Just one line will make it useful for me only rarely…

    Thanks
    Meir

    Meir
    Participant

    Dear Stefan,

    Yes, you are right, as long as no horizontal scrolling is required what you suggest can indeed work. And this has an extra benefit when a file has some extra header lines before the column headers. It keeps the complete upper portion of the columnar file stationary and visible and allows one to scroll vertically and bring just the column headings into view.

    But sadly enough, “LifeTime” is right too! There is probably no possibility to lock the side-scrolling for the two split windows.

    So Yutaka, I would strongly suggest that your implementation of such a feature will:
    1) take into account an arbitrary number of extra header lines, and
    2) enable horizontal scrolling,
    otherwise its usefulness will be rather limited.

    Regards,
    Meir

    Meir
    Participant

    I’ll second this!

    in reply to: Mixed configirations #18498
    Meir
    Participant

    That’s not a completely bad idea at all :-) Monkeyman! Thanks!

    It could simply take care of some keywords used as variable or methods names: e.g., format is a keyword but $format is a perfectly legal variable name. warn is a keyword, but $object->warn is an object’s method call, etc.

    Good!

    Well, Yutaka, how about it (and about RegEx usage examples?)

    in reply to: Mixed configirations #18494
    Meir
    Participant

    Dear Monkey…

    The issue is quite broader. I work with Perl. And that language has some rather queer exceptions. One example: @my_array is … you guessed, an array! $#my array is the highest index currently occupied. But EmEditor considers everything beyond the ‘#’ as comment. And there are many more exceptions.

    Try and open one of the syntax highlighting files. Open Tools->Properties for the current configuration->Highlight(1). Click the ‘Export’ button and same the ‘esy’ file. Its syntax seem simple enough. Especially note the line
    #Keyword color=4,word=on,rightall=off,case=on,insidetag=off,regexp=off,rightall2=off
    There seem to be a possibility to specify some syntax highlighting by regular expressions. I once asked Yutaka for some usage examples. He doesn’t seem to consider this request as worthy of his attention. May be you can convince him otherwise…?

    in reply to: Invalid selection display with RTL text #18490
    Meir
    Participant

    Dear captain…

    Yes, this is a known issue! There is another one: take a long line of RTL text, one that stretches well beyond the window, and use the horizontal slider to bring it into view. The display will be garbage. Click the mouse anywhere in the window and the display comes back to life.

    So far, my only recourse when I needed to embed RTL text in my code was to copy/paste it to the MS notepad, which does support RTL text adequately, but is of course a very basic one. For me that was acceptable since these occasions are rather rare.

    I couldn’t find an editor equal to the Emeditor in capabilities but that also supports RTL text. If you do find such, please let me know.

    in reply to: "Script group box" unavailable #18309
    Meir
    Participant

    Oh!
    It would be very helpful IMHO to also enable it for other “configurations” (an unfortunate name. It bewildered me as a beginner. Why not call it “Language”? But never mind!), at least for Perl.

    In Perl, one has the option to document a piece of code in the same file as the code itself, using “pod” – Plain-Old Documentation. When adhering to the POD, the Perl compiler ignores the documentation, and so should EmEditor do with regard to syntax highlighting. Outside of the beginning and ending strings, it should be regarded as plain text, no highlighting.

    The beginning and ending marking strings should support <newlines>, say as “\n”. This is very important, see the POD standard. It should also support alternatives, separated say by commas, semicolons, or the pipe character “|”. This is because there are alternatives as to how one demarcates code from documentation and Vice Versa.

    For your consideration!

    in reply to: Regular Expressions example in Syntax highlighting file #18142
    Meir
    Participant

    Thanks Yutaka,
    Your suggestion cannot be used universally. e.g., when my legacy code has some commented-out segments, they now come back to life. Also, frames such as:
    #########
    #
    #########
    are considered “code”.

    But your syntax does refer to RegEx:
    #Keyword color=4,word=on,rightall=off,case=off,insidetag=off,regexp=off,rightall2=off

    What does regexp=on do?

    And finally, Can the RegEx-enhanced syntax highlighting files be moved up your priority list please?

    Meir
    Participant

    Dear Sirfoobar,

    How would you know which spaces where inserted with the TAB key and which with the space bar. The whole idea behind spaces rather than TABs is to make the file look the same on different boxes, with different text editors having different settings.

    And why can’t you select the line/lines and type SHFT-TAB. That un-indents all lines selected to the tab stops even if the number of spaces is not an integer multiple of the tab spaces.

    in reply to: Tab Colors #17438
    Meir
    Participant

    Hi!
    I will second this request! Please do consider it seriously!

    in reply to: several actions on a single shortcut #11262
    Meir
    Participant

    Hi Dimitry!

    Just record a macro (Macro->Start/Stop Macro) that does it. There is usually a default run key for the last macro recorded.

    Alternatively, you can assign it to a keyboard shortcut sequence, e.g. ALT-m. For this you need to save it first, giving it a name,(ext = ‘jsee’) in the macro folder. Look-up the “Customize Macros dialog box”/Options tab for its location.

    Then to assign it your own and permanent key sequence, do Tools Menu->”Properties for Current (or All if you prefer) Configuration”->Keyboard tab->Select “My Macros” in the “Category” drop-down field; choose the Macro name you gave it in the “Command” drop-down list, move the cursor to the “Press new shortcut key”, click the key sequence of your choice (See if it is not already assigned to something) and click “assign”. OK yourself all the way out!

    Have fun!

    in reply to: File-specific wrap mode setting #11256
    Meir
    Participant

    Thanks Andreas!

    I’ll second this!

    I will add though that it should also be part of the saved workspace and restored with it.

    Meir
    Participant

    Hi Yutaka!

    OS is Win-7 Pro Version 6.1.7601 Service Pack 1 Build 7601.

    EE is Version 12.0.11 64bit

    As far as I know I didn’t change any Registry value. What should I look for?

    Meir
    Participant

    Dear “thanksgod”!

    Thank you!

    FYI, Hebrew also have the so called “diacritics” which are part of many scripts, even the Latin-1! The German “umlaut” ones, the french “circumflex” as well as various Polish, Turkish and many more languages.

    Hebrew in particular has many of these. My experience with previous EE versions (I didn’t upgrade to v.13 yet) tells me that it displays some right but many more not so. Even some of the European, Latin-1 diacritics are not displayed right, e.g., ĉb (small Latin ‘c’ U+0063 + Combining Circumflex Accent U+0302 and then small Latin letter ‘b’) are displayed ‘c’ and above it the Circumflex (correct!) then a space (not correct!) and then the ‘b’.

    BTW, all of it was tried using the UTF-8 encoding.

    Are you using a specialized Thai encoding (Hebrew has four, in addition to the Unicode ones), or UTF-8?

    in reply to: Auto Marker Issues #11180
    Meir
    Participant

    Hi Yutaka,

    Oh, why did you downgraded this???

    One of my most frequent usage of markers is to mark segments of a long string to find an identical segment in another string. This is very helpful when analyzing long seemingly meaningless strings as in a POST exchanges between an HTTP client and a server. The new limitation will seriously limit my ability because in addition I am limited to ten highlight color schema. :-(

    BTW, is it 79 characters or 79 Bytes?

    And further, what about my other “Marker” related requests:

    * Changing marker color not applied on the Markers toolbar

    * Splitting the single-button highlight marker now assigned to the “Find-next” into two buttons, an upper one with a triangle pointing up and a lower one with an inverted triangle pointing down. Then, the upper half should be assigned to the “Find previous” whereas the lower one will remain as the “find-next”.

    Meir
    Participant

    Dear Kalum,

    Just out of curiosity, is Thai written left-to-right or right-to-left? (I am asking, since my language is Hebrew, which is written, like all native middle-eastern scripts, RTL. And I am also experiencing bad display of Hebrew.

    in reply to: When the "Comment" character is part of the syntax #11165
    Meir
    Participant

    Yes, that would be great if you could find a way…

    In fact, may be any coloring or other stuff could be specified by a regex.

    EDIT: There are also other cases where the coloring/syntax is wrongly interpreted. For example, when a Perl scalar is named ‘$pos’, the ‘pos’ part is colored red, being (also!) a standard Perl function. But here it is a scalar identifier, and it should have been colored blue. And yes, indeed, a RegEx looking for a Perl “sigil” ($, \%, @, & and more) concatenated with “w” will always color it as an identifier.

    in reply to: When the "Comment" character is part of the syntax #11163
    Meir
    Participant

    In fact, what I forgot to mention is that the problem is not the coloring. I can live with that!

    A more serious problem is that the matching parenthesis pairing is messed up. This IS a problem!

    Removing the ‘#’ from the Line Comment text field in the Highlight(2) tab of Perl configuration properties will create a lot more problems than “solved”.

    Can that be fixed???

    Meir
    Participant

    Please don’t! I like to see the line I am editing at the center of the screen (height wise). So at the EOF this feature is very helpful! And I wouldn’t know that this is possible unless it was ON by default.

Viewing 25 posts - 26 through 50 (of 108 total)