19 Commits

Author SHA1 Message Date
magical-l
3ed72d718e
Update annotator.md
若startOffset不+1,则会包含“website”左侧的冒号;若endOffset不-1,则会包含“website”右侧的引号,两种情况都怪怪的。
if we don't +1 for the 'startOffset', then the colon at the left side of "website" will be included; if we don't -1 for the 'endOffset', then the quote mark at the right side of "website" will be included, and both of them are strange.
--------
另,github仓库的源码(https://github.com/JetBrains/intellij-sdk-docs/blob/master/code_samples/simple_language_plugin/src/com/simpleplugin/SimpleAnnotator.java)有误,如下:
btw,the source code in the repository in github(https://github.com/JetBrains/intellij-sdk-docs/blob/master/code_samples/simple_language_plugin/src/com/simpleplugin/SimpleAnnotator.java) is wrong as below:

```
if (properties.size() == 1) {
          TextRange range = new TextRange(element.getTextRange().getStartOffset() + 7,
                                          element.getTextRange().getStartOffset() + 7);
//new TextRange时endOffset跟startOffset相同。
//endOffset is the same as startOffset while new TextRange.
```
2019-10-01 15:27:37 +08:00
John Hake
0a5c351b95
Revert "IJSDK-473" 2019-06-17 21:08:02 -07:00
Matt Ellis
752347cf5e Update custom language tutorial 2017-10-12 12:11:42 +01:00
Matt Ellis
9fc3662cd5 Fix code in annotator tutorial 2017-10-11 17:07:14 +01:00
Matt Ellis
1ade5f3c30 Remove next/previous links 2017-10-06 14:55:28 +01:00
Breandan Considine
b8fb86ac63 Fix broken links and remove author template 2016-03-21 17:29:12 -04:00
Breandan Considine
778cfa08a8 Fix broken links and cross reference more sample code 2016-03-21 16:47:39 -04:00
Matt Ellis
ab392301a3 Merge https://github.com/artspb/intellij-sdk-docs into artspb-master 2015-09-24 12:33:56 +01:00
breandan considine
88df4e5872 Replace relative paths containing '..' with absolute paths '/'
@citizenmatt
2015-08-06 20:49:20 -04:00
breandan considine
7b75f3ad99 Replaced internal .html links with .md extension
Find: (\([^:\)]+\.)html\)

Replace: $1md\)
2015-08-06 19:38:31 -04:00
Artem Khvastunov
84cc93e8d9 actualized 'Annotator' page
class SimpleAnnotator is cleaned
2015-08-04 21:35:45 +02:00
Matt Ellis
9d5bf84427 All files using default layout 2015-07-09 15:54:37 +01:00
Anna Bulenkova
ba472271f0 layout changed 2015-06-10 12:34:29 +02:00
Anna Bulenkova
059c428541 IJSDK-46 2015-06-10 11:36:33 +02:00
Anna Bulenkova
9fcf0aa391 [site] links fixed 2015-04-30 13:51:58 +02:00
Anna Bulenkova
2905f5f5b7 [site] custom language support - second level steps 2015-04-30 12:32:52 +02:00
Anna Bulenkova
8ba2ee34d4 [site] Headers for custom lang support accordingly TOC 2015-04-30 10:12:26 +02:00
Anna Bulenkova
3eaab83749 custom lang support - screen shots fixed 2015-04-22 09:50:22 +02:00
Anna Bulenkova
c53d66816d [site] custom language support re-structured 2015-04-21 11:08:06 +02:00