Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
SlickEdit® / Re: How to get file tabs at top of page, not bottom
« Last post by CyberZombie on July 19, 2017, 09:26:42 pm »
A (minor) downside to the Document Tabs window is that it doesn't mimic the File Tabs in that a middle mouse click anywhere on the tab closes it...gotta be more careful to hit that 'X'.  :P
22
SlickEdit® / Re: Segmentation fault in 21.0.3, hotfix 5
« Last post by rowbearto on July 19, 2017, 08:26:17 pm »
correct, 64bit linux. The issue also occurred on 64bit windows 7.
23
SlickEdit® / Re: Segmentation fault in 21.0.3, hotfix 5
« Last post by patrick on July 19, 2017, 07:56:01 pm »
Oh, rowbearto, you're 64 bit linux, right?
24
SlickEdit® / Re: Segmentation fault in 21.0.3, hotfix 5
« Last post by patrick on July 19, 2017, 07:55:04 pm »
The problem not specific to hotfix 5.  I made a mistake when I was trying to reproduce it, so initially I did think that.

The problem is pretty hard to hit.  And also hard to characterize the kinds of files that could trigger it.  osn_ii.cc got just got "lucky" I think.
25
I'd also like to have the option to put the new file on the right side, this is my normal convention with external diff tools and I get confused when SE puts the new file on the left.
26
SlickEdit® / Re: Segmentation fault in 21.0.3, hotfix 5
« Last post by mwb1100 on July 19, 2017, 07:10:17 pm »
Can you comment about whether this is something triggered by the osn_ii.cc file that's unlikely to happen with other files?  Basically, should C++ users avoid hotfix 5 or is there a workaround by avoiding some construct or pattern in source files?
27
I use Clearcase and recently did a multi-file search/replace. Several files were checked out of clearcase in the process. One of them had a warning in the output, but that warning got overwritten in the Output window when the next checkout occurred.

Would it be possible to add an option to append new messages to the "Output" window instead of always clearing it? Perhaps you can add the timestamp of each new print to the output window, and maybe also the command executed (such as the exact clearcase checkout command that was run)?
28
I think it would also be helpful to make the "deselect after paste" option language specific, so after pasting something in Python (and only Python), I just have to "shift-tab".

Jeff
29
Hi:

As Python does not have braces, it is hard for SE to know the desired level of indenting when copy/pasting code. However as the programmer, I know the desired level of indenting. I'd like to have a macro (or macro(s)) in SE so that I can tell SE which level of indenting to use.

For example, lets say I have this code:

Code: [Select]
while (argv_idx < argvLen):
    if sys.argv[argv_idx] == "-d":
        argv_idx = argv_idx + 1
        description = sys.argv[argv_idx]
        description = description.replace(" ","-")
    if sys.argv[argv_idx] == "-u":
        compressed = False

and then I want to paste the following at the end:

Code: [Select]
    if sys.argv[argv_idx] == "-r":
        compressed = False
        argv_idx = argv_idx + 1
        reviewnum = sys.argv[argv_idx]

When I do this, I get it with undesired indenting, because SE thinks it should continue with current indenting:

Code: [Select]
while (argv_idx < argvLen):
    if sys.argv[argv_idx] == "-d":
        argv_idx = argv_idx + 1
        description = sys.argv[argv_idx]
        description = description.replace(" ","-")
    if sys.argv[argv_idx] == "-u":
        compressed = False
        if sys.argv[argv_idx] == "-r":   # I really wanted this 4 spaces over to the left, not where it was pasted.
            compressed = False
            argv_idx = argv_idx + 1
            reviewnum = sys.argv[argv_idx]

But what I really desire is this:

Code: [Select]
while (argv_idx < argvLen):
    if sys.argv[argv_idx] == "-d":
        argv_idx = argv_idx + 1
        description = sys.argv[argv_idx]
        description = description.replace(" ","-")
    if sys.argv[argv_idx] == "-u":
        compressed = False
    if sys.argv[argv_idx] == "-r":   # Now this line has the desired indent
        compressed = False
        argv_idx = argv_idx + 1
        reviewnum = sys.argv[argv_idx]

To fix it, I need to do column select and then "Shift-Tab" to move it to the correct indenting. It is doable, but tedious.

Since I as the programmer know the desired level of indenting, if SE could provide me with a macro (that I can bind to a key) to tell SE to paste this code with the previous level of indenting, it would make me more productive.

So if 2 macros are provided - paste_python_with_current_indent and paste_python_with_previous_indent, then I could bind both to a key and know exactly which level of indent I am pasting to.
30
SlickEdit® / Re: Hang when doing find in file during build
« Last post by Clark on July 19, 2017, 03:18:39 pm »
Yes. That's the right version
Pages: 1 2 [3] 4 5 ... 10