LEFT | RIGHT |
(Both sides are equal) |
1 /* vim:set et sts=4 sw=4: | 1 /* vim:set et sts=4 sw=4: |
2 * | 2 * |
3 * ibus - The Input Bus | 3 * ibus - The Input Bus |
4 * | 4 * |
5 * Copyright(c) 2011 Peng Huang <shawn.p.huang@gmail.com> | 5 * Copyright(c) 2011 Peng Huang <shawn.p.huang@gmail.com> |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or(at your option) any later version. | 10 * version 2 of the License, or(at your option) any later version. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 default: | 75 default: |
76 continue; | 76 continue; |
77 } | 77 } |
78 pango_attr.start_index = (uint)start_index; | 78 pango_attr.start_index = (uint)start_index; |
79 pango_attr.end_index = (uint)end_index; | 79 pango_attr.end_index = (uint)end_index; |
80 // Transfer the ownership to pango_attrs | 80 // Transfer the ownership to pango_attrs |
81 pango_attrs.insert((owned)pango_attr); | 81 pango_attrs.insert((owned)pango_attr); |
82 } | 82 } |
83 return pango_attrs; | 83 return pango_attrs; |
84 } | 84 } |
LEFT | RIGHT |