Scripts discussion (1)
- Author
- Message
-
Offline
- Posts: 2248
- Joined: Tue Aug 07, 2007 2:03 pm
- Location: Vinnitsa, Ukraine
KDJ
One byte is not enough. At least two. And it is not solution.
1. In case when you writing into buffer end it rewrites memory after it, and in some cases there is situated very important for Memory Management subsystem internal data. When this data is corrupted memory subsystem will not work properly(when I tried this bug, I have lost all data in akelpad, its settings in AkelPad.ini and content of opened documents.
2. In case when you writing in the middle of buffer, it will overwrite adjacent memory cells to one you are writing into.(I.e. you are writing 2 bytes into memory address 1000000(i.e. affected memory cells are 1000000 and 1000001), but it will also write data to cells 1000002 and 1000003, which can store important application data).
Instructor will fix plugin soon, so you should not add extra byte to your memory allocations in you script, which you posted recently.
One byte is not enough. At least two. And it is not solution.
1. In case when you writing into buffer end it rewrites memory after it, and in some cases there is situated very important for Memory Management subsystem internal data. When this data is corrupted memory subsystem will not work properly(when I tried this bug, I have lost all data in akelpad, its settings in AkelPad.ini and content of opened documents.
2. In case when you writing in the middle of buffer, it will overwrite adjacent memory cells to one you are writing into.(I.e. you are writing 2 bytes into memory address 1000000(i.e. affected memory cells are 1000000 and 1000001), but it will also write data to cells 1000002 and 1000003, which can store important application data).
Instructor will fix plugin soon, so you should not add extra byte to your memory allocations in you script, which you posted recently.
-
Offline
- Posts: 1873
- Joined: Mon Aug 06, 2007 1:07 pm
- Contact:
convertHTML.js
Добавлено перекодирование &#кодов; («…», «…» => «…»).
Добавлена локализация.
convertEscapes.js
Добавлена локализация.
Добавлено перекодирование &#кодов; («…», «…» => «…»).
Добавлена локализация.
convertEscapes.js
Добавлена локализация.
-
Offline
- Posts: 1873
- Joined: Mon Aug 06, 2007 1:07 pm
- Contact:
Очередное обновление:
Next update:
convertEscapes.js
convertHTML.js
highlighter.js
Improved logic of text getting.
insertEval.js
newFileTemplate.js
scriptToBookmarklet.js, scriptToBookmarklet_w2k.js
Improved logic of text getting.
textStatistics.js
Added English translation and information about shortest and longest lines, improved logic of text getting.
toggleComments.js
All: implemented new localization method ().
Next update:
convertEscapes.js
convertHTML.js
highlighter.js
Improved logic of text getting.
insertEval.js
newFileTemplate.js
scriptToBookmarklet.js, scriptToBookmarklet_w2k.js
Improved logic of text getting.
textStatistics.js
Added English translation and information about shortest and longest lines, improved logic of text getting.
toggleComments.js
All: implemented new localization method ().
-
Offline
- Posts: 767
- Joined: Mon Sep 28, 2009 10:03 am
- Location: Minsk, Belarus
Infocatcher
в openFileIn.js добавить бы для полного набора ещё и Safari
в openFileIn.js добавить бы для полного набора ещё и Safari
-
Offline
- Posts: 1873
- Joined: Mon Aug 06, 2007 1:07 pm
- Contact:
-
Offline
- Posts: 3234
- Joined: Wed Nov 29, 2006 1:19 pm
- Location: Киев, Русь
- Contact:
Infocatcher
Можно ли в textStatistics.js сделать так, чтобы знак равенства шёл не в слитную с текстом, а через пробелы? Будет более читаемо.
Можно ли в textStatistics.js сделать так, чтобы знак равенства шёл не в слитную с текстом, а через пробелы? Будет более читаемо.
-
Offline
- Posts: 1873
- Joined: Mon Aug 06, 2007 1:07 pm
- Contact:
-
Offline
- Posts: 3234
- Joined: Wed Nov 29, 2006 1:19 pm
- Location: Киев, Русь
- Contact:
-
Offline
- Posts: 1949
- Joined: Sat Mar 06, 2010 7:40 pm
- Location: Poland
In the script FileInfo.js, added detailed information about the lines.
-
Offline
- Posts: 1873
- Joined: Mon Aug 06, 2007 1:07 pm
- Contact:
Хорошо пошло. 
convertEscapes.js
convertHTML.js
Improved logic of text operations.
colorsConverter.js
Added localization and improved handling of incorrect colors.

convertEscapes.js
convertHTML.js
Improved logic of text operations.
colorsConverter.js
Added localization and improved handling of incorrect colors.