Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - alex

Pages: [1] 2 3 ... 132
Beta Version Test (minor) / HippoEDIT 1.61.47 released
« on: May 22, 2017, 04:25:25 pm »
HippoEDIT 1.61 for Win 32 bit (Unicode)
HippoEDIT 1.61 for Win 64 bit (Unicode)
HippoEDIT 1.61 for Win 32 bit (Non-Unicode)

*All installers contain PDB files for better crash reporting, so sizes are rather big (approx 24 mb), but this does not influence performance.

HippoEDIT 1.61.47 is out: now as 1.61 betas + bug fixes.
I have decided to switch back to "beta" mode for update builds and keep release build stable without updates. To be updated more seldom. The reason for this - frequent blocks from antivirus programs (e.g Symantec Norton Antivirus). Except for minor version update and no direct link on the website for betas, the process is same as before.

  • Fixed. The font used for Code Template Text editing is lost, after pressing Apply (in settings dialog)
  • Fixed. Crash on closing of HippoEDIT with modified documents, when document is deleted by external app
  • Fixed. Find/Replace dialog sometimes is not redrawn
  • Fixed. Scripting API: BeginUndoGroup/FlushUndoGroup persist empty groups
  • Fixed. Scripting API: Find/FindAll/FindEx/ReplaceEx shall fire proper exception in case of wrong input for search or replace pattern
  • Fixed. Scripting API: FindEx/ReplaceEx nSearchIn parameter as Variant or string.
  • Fixed. Scripting API: replace for IDocument for better support of regular expression replace

Hi Greg,

Ctrl+Shift+Up/Down does a line based selection.

The function you search is Edit.MoveLinesUp/MoveLinesDown ->

BR, Alex.

Hi Sander,

HE is a software for professionals - ones who will respect the screen line count :)
The offset is in lines, not in pixels ;) I doubt that you have 500 lines visible on the screen.

But, yes you are right. Bounds should be checked. I will fix it in next build.
From another side, as you suggest, this is a way to detect mode to use normalization of the offsets, in case of screen size overflow - this will allow coming to proportional split of the cursor position: so, if you set Top 1000 and bottom to 500 it would mean the cursor will be always on 2/3 of the screen and it will scroll up or down as you go up/down one line.

As temporary workaround use lower numbers ;)

BR, Alex.

Hi Sander,

you can configure cursor offsets to window edges using following XML flags:
but only in absolute numbers (in lines). You can not set it to the percentage of the screen lines.

It is not possible yet in Hex mode, but I will note it and would have in the first version. Probably reusing offsets from the text editor.

BR, Alex.

Пользуйтесь на здоровье! ;)


1) По умолчанию, должно все восстанавливать, но есть исключения:
- File -> Workspace -> Properties -> Remember -> Open Documents  - но это влияет на все документы
- File -> Workspace -> Properties -> Remember -> Untitled Documents  - на новые, не сохраненные документы
Tools -> Options -> Actions -> At Start Up -> Open Last Files - тоже на все документы
- в зависимости как файл был открыт:

Если ничего из вышеперечисленного не поможет, надо понять какие конкретно файлы не восстанавливаются (протестировать на последнем билде).

2) Настройки документа, привязаны к синтаксису документа (если не менялись для конкретного документа). Можно настроить либо для определенного синтаксиса, либо для всех.
- Tools -> Options -> Syntax Settings -> All Syntaxes - для всех
- Tools -> Options -> Syntax Settings -> [Syntax Name] - для конкретного.

С уважением,

Beta Version Test (minor) / HippoEDIT 1.60.46 released
« on: April 06, 2017, 11:14:02 am »
HippoEDIT 1.60 for Win 32 bit (Unicode)
HippoEDIT 1.60 for Win 64 bit (Unicode)
HippoEDIT 1.60 for Win 32 bit (Non-Unicode)

*All installers contain PDB files for better crash reporting, so sizes are rather big (approx 24 mb), but this does not influence performance.

HippoEDIT 1.60.46 is out: bug fixes.

  • New. Version information added to the installer.
  • Fixed. Colored braces are not properly recognized if located on different lines.
  • Fixed. The once more outdated version of syntax schemes in installer...
  • Fixed. When switching between auto-hidden tool panes, continuously, the size of floating pane constantly decreases.
  • Fixed. Crash after double click on tool tab in floating tool window (undocked)
  • Fixed. Crash on a switch of tool window with two panes from an auto-hide mode to floating.
  • Fixed. External utilities for extended keyboard processing do not work in HippoEDIT.
  • Fixed. Crash when using include directive for style in syntax scheme.
  • Fixed. Scripting API: Adding duplicate command handler to the menu does not work.
  • Fixed. Scripting API: onSelectionChange delivers wrong coordinates in case of block mode selection.
  • Fixed. Scripting API: onTextInsert is not called in case of Paste.

General Discussion / Re: How do I open files of ANY syntax/file type?
« on: March 22, 2017, 03:03:10 pm »
Hi Karl,

honestly, I am out of ideas. If a behavioir on two PCs is different, it means there is some important difference :)
Without finding it and be able to recreate the issue on my side, I can not provide any fixes, because I do not know what to fix :/
I really want to help here.

The only workaround I may suggest is that you can type "*" (followed by an Enter) in File Name field to get all files shown.

BR, Alex.

General Discussion / Re: How do I open files of ANY syntax/file type?
« on: March 22, 2017, 11:57:24 am »

I was expecting it is related to portrait orientation of your secondary monitor (HippoEDIT does repositioning of the dropdowns on resizing of open dialog), but I have tried on my side, with similar configuration (Windows 10 X64, 2 monitors, one video card, 1920x1080, one I have turned to portrait) and have not seen any problem. Though I was expecting them ;)

Another argument for system setup is your comment:
I use the same monitors on my other PC (KVM switch) and HippoEdit works fine.
This means, there are some differences between your two machines if HippoEDIT version and settings are the same.

Are both systems have the same windows version, DPI settings?

General Discussion / Re: How do I open files of ANY syntax/file type?
« on: March 21, 2017, 11:51:55 pm »
Hi Karl,

this is not related to any settings... And this is not normal - the Files of type drop down shall be always visible (as Encoding dropdown). I see such problem first time and I assume that it is somehow related to your system settings.
The File Open/Save dialog, is a system dialog which is extended by HippoEDIT with Encoding drop down and Favorites button on toolbar. The rest is coming from the operating system. Inclusive File Type dropdown with file filters.

We need to find a way to reproduce it, otherwise, it would be difficult to solve. Or suggest something.

- Do you have some tools that extend/hook file open dialogs? Maybe it conflicts with HippoEDIT extension of the dialog?
- After the problem is back is it solved after application restart?
- Is it happens with any new/existing file? Or for some specific syntax? How it behaves with an empty Plain Text document?
- Have you installed/modified specific syntax schema? Or modified file extensions (file mask) for some syntax? Is it works on your machine, with a clean installation?
- Are dropdowns shown after you resize the dialog?

We need to find a system :)

BR, Alex.
P.S.: I have seen you have also sent a bug report mail, but I am answering you here - this may help to other users if they got the same problem.

Beta Version Test (minor) / HippoEDIT 1.60.45 released
« on: March 21, 2017, 11:38:48 am »
HippoEDIT 1.60 for Win 32 bit (Unicode)
HippoEDIT 1.60 for Win 64 bit (Unicode)
HippoEDIT 1.60 for Win 32 bit (Non-Unicode)

*All installers contain PDB files for better crash reporting, so sizes are rather big (approx 24 mb), but this does not influence performance.

HippoEDIT 1.60.45 is out: bug fixes.

  • Fixed. After selecting multi-line text and calling the Find Dialog, the editor asks to convert text into a regular expression. The Line endings are converted to regexp symbols, but Regular expression flag is not set automatically.
  • Fixed. Crash on the loading of a document, in the case of incorrect label defined in syntax schema.
  • Fixed. API LoadSyntax does not restore active syntax of documents if it was reloaded syntax. The same happens with an update of syntax bundles.
  • Fixed. API GetUserVariable does not work.
  • Fixed. API ScriptArguments does not work properly.
  • Fixed. Random crashes and memory leaks when Spell Checker and Live Colors plugin.

Общие вопросы / Re: Cyclical replacement rows
« on: March 20, 2017, 01:36:54 pm »
Пользуйтесь на здоровье ;)
Если будут вопросы пр скриптингу - помогу чем смогу.

Общие вопросы / Re: Cyclical replacement rows
« on: March 19, 2017, 11:22:29 pm »
Шел для скипта - это HippoEDIT. Скрипт выполеяется самим редактором и использует его API.
При желании и без особых трудов, это все можно вызывать через кнопку на тулбаре и обернуть в плагин для простого распространения.

Если же надо что то без редактора, то можно делать для cscript (Windows Scripting Host) и использовать с его API. Что там есть по обработке файлов я не знаю. Можно наверное и PowerShell. Либо Auto It / Auto Hotkey, если можно что то ставить на машины.

Общие вопросы / Re: Cyclical replacement rows
« on: March 19, 2017, 10:28:36 pm »

как то у меня все равно не вышло воспроизвести логику с приведенным примером - судя по условиям, в нем ничего заменится не сможет.

Я сомневаюсь, что это будет просто сделать и с макросом. Потому как обработать что в предыдущей строке стоит +n, где n > 5 макрос не сможет.
Так что сделать это правильно можно только скриптом. Я набросал основу, Вы же уже подправьте как надо:
Code: Javascript
  1. #include "he_utils.js"  // generic helper functions
  3. // constants
  4. var OFN_ALLOWMULTISELECT     = 0x00000200;
  6. var output = Application.Output();
  7. output.clear(); // clean output from old text
  9. var sFind = Application.prompt("Enter value to search");
  10. var sReplace = Application.prompt("Enter new value");
  11. var files = ax2js(Application.SelectFiles(true, "", "", OFN_ALLOWMULTISELECT));
  13. for (var i = 0; i < files.length; i++){
  14.         output.writeln("Processing " + files[i] + "...");
  15.         var doc = Application.OpenFile(files[i]);      
  16.         var matches = doc.FindAll("^" + sFind, eFindRegexp);
  17.         if ( matches ) {               
  18.                 for (var n = 1; n <= matches.Count; n++) {
  19.                         if ( (n % 15) == 0 || n == matches.Count) {
  20.                                 var sPrevLine = "";
  21.                                 if ( matches[n].Top) {
  22.                                         sPrevLine = doc.GetLine(matches[n].Top - 1);
  23.                                 }
  24.                                 if ( parseInt(sPrevLine.match(/\+\d+/)) > 5) {
  25.                                         doc.ReplaceText(matches[n], sReplace);
  26.                                 }              
  27.                         }
  28.                 }              
  29.         }
  30. }

Детали по Scripting API можно найти на wiki:

С уважением,

Общие вопросы / Re: Cyclical replacement rows
« on: March 19, 2017, 04:22:12 pm »

probably I would need an example of what you want to do, to understand your question better.

Do you want to replace it in files or in the opened document?

From what I got from your question, I feel it would be rather difficult to achieve this, using standard functionality, but maybe one can define a proper regular expression for that... Give an example and I would try to help.

Best regards,
P.S.: And while you already writing in Russian branch, you may do it in Russian ;)

Pages: [1] 2 3 ... 132